Skip to content

Commit fb1f4d5

Browse files
committed
Add include for defines (ESP32)
1 parent 4aa19d8 commit fb1f4d5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Wippersnapper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
// Define actual debug output functions when necessary.
4949
#ifdef WS_DEBUG
5050
#define WS_DEBUG_PRINT(...) \
51-
{ WS_PRINTER.print(__VA_ARGS__); } ///< Prints debug output.
51+
{ WS_PRINTER.print(__VA_ARGS__); WS_PRINTER.flush(); } ///< Prints debug output.
5252
#define WS_DEBUG_PRINTLN(...) \
53-
{ WS_PRINTER.println(__VA_ARGS__); } ///< Prints line from debug output.
53+
{ WS_PRINTER.println(__VA_ARGS__); WS_PRINTER.flush(); } ///< Prints line from debug output.
5454
#define WS_DEBUG_PRINTHEX(...) \
55-
{ WS_PRINTER.print(__VA_ARGS__, HEX); } ///< Prints debug output.
55+
{ WS_PRINTER.print(__VA_ARGS__, HEX); WS_PRINTER.flush(); } ///< Prints debug output.
5656
#else
5757
#define WS_DEBUG_PRINT(...) \
5858
{} ///< Prints debug output

src/network_interfaces/Wippersnapper_ESP32.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#ifdef ARDUINO_ARCH_ESP32
2121
#include "Wippersnapper.h"
22+
#include "Wippersnapper_Networking.h"
2223

2324
#include "Adafruit_MQTT.h"
2425
#include "Adafruit_MQTT_Client.h"

0 commit comments

Comments
 (0)