Skip to content

Commit

Permalink
Fix UART_MQTT_SUPPORT guards
Browse files Browse the repository at this point in the history
  • Loading branch information
xoseperez committed Mar 2, 2018
1 parent 694d70d commit 353b739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/espurna/espurna.ino
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void setup() {
#if SCHEDULER_SUPPORT
schSetup();
#endif
#ifdef UART_MQTT_SUPPORT
#if UART_MQTT_SUPPORT
uartmqttSetup();
#endif

Expand Down
4 changes: 2 additions & 2 deletions code/espurna/uartmqtt.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -100,4 +100,4 @@ void uartmqttSetup() {

}

#endif
#endif // UART_MQTT_SUPPORT

0 comments on commit 353b739

Please sign in to comment.