From a2e865bb44a7806db851abc44a89bc06c955f98a Mon Sep 17 00:00:00 2001 From: andrethomas2 <43345003+andrethomas2@users.noreply.github.com> Date: Sun, 2 Dec 2018 18:53:49 +0200 Subject: [PATCH] Add dummy soft_spi_flg to satisfy compiler @arendst Just adding this, for now, to satisfy the compiler until you get time to merge the rest of the Software SPI support. --- sonoff/sonoff.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/sonoff/sonoff.ino b/sonoff/sonoff.ino index be7006286..0772e76f2 100755 --- a/sonoff/sonoff.ino +++ b/sonoff/sonoff.ino @@ -167,6 +167,7 @@ uint8_t dht_flg = 0; // DHT configured uint8_t energy_flg = 0; // Energy monitor configured uint8_t i2c_flg = 0; // I2C configured uint8_t spi_flg = 0; // SPI configured +uint8_t soft_spi_flg = 0; // Software SPI ** Temporary fix to satisfy compiler ** uint8_t light_type = 0; // Light types uint8_t ntp_force_sync = 0; // Force NTP sync byte serial_in_byte; // Received byte