Skip to content

Commit

Permalink
Add include for defines (ESP32)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyeth committed Dec 12, 2024
1 parent 4aa19d8 commit fb1f4d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Wippersnapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
// Define actual debug output functions when necessary.
#ifdef WS_DEBUG
#define WS_DEBUG_PRINT(...) \
{ WS_PRINTER.print(__VA_ARGS__); } ///< Prints debug output.
{ WS_PRINTER.print(__VA_ARGS__); WS_PRINTER.flush(); } ///< Prints debug output.
#define WS_DEBUG_PRINTLN(...) \
{ WS_PRINTER.println(__VA_ARGS__); } ///< Prints line from debug output.
{ WS_PRINTER.println(__VA_ARGS__); WS_PRINTER.flush(); } ///< Prints line from debug output.
#define WS_DEBUG_PRINTHEX(...) \
{ WS_PRINTER.print(__VA_ARGS__, HEX); } ///< Prints debug output.
{ WS_PRINTER.print(__VA_ARGS__, HEX); WS_PRINTER.flush(); } ///< Prints debug output.
#else
#define WS_DEBUG_PRINT(...) \
{} ///< Prints debug output
Expand Down
1 change: 1 addition & 0 deletions src/network_interfaces/Wippersnapper_ESP32.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#ifdef ARDUINO_ARCH_ESP32
#include "Wippersnapper.h"
#include "Wippersnapper_Networking.h"

#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
Expand Down

0 comments on commit fb1f4d5

Please sign in to comment.