Browse Source

Fix UART_MQTT_SUPPORT guards

rfm69
Xose Pérez 6 years ago
parent
commit
353b739d90
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      code/espurna/espurna.ino
  2. +2
    -2
      code/espurna/uartmqtt.ino

+ 1
- 1
code/espurna/espurna.ino View File

@ -147,7 +147,7 @@ void setup() {
#if SCHEDULER_SUPPORT
schSetup();
#endif
#ifdef UART_MQTT_SUPPORT
#if UART_MQTT_SUPPORT
uartmqttSetup();
#endif


+ 2
- 2
code/espurna/uartmqtt.ino View File

@ -7,7 +7,7 @@ Adapted by Xose Pérez <xose dot perez at gmail dot com>
*/
#ifdef UART_MQTT_SUPPORT
#if UART_MQTT_SUPPORT
char _uartmqttBuffer[UART_MQTT_BUFFER_SIZE];
bool _uartmqttNewData = false;
@ -100,4 +100,4 @@ void uartmqttSetup() {
}
#endif
#endif // UART_MQTT_SUPPORT

Loading…
Cancel
Save