We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fea15f commit 954f116Copy full SHA for 954f116
src/debug.cpp
@@ -7,13 +7,7 @@ void debug_setup()
7
{
8
DEBUG_PORT.begin(115200);
9
SerialDebug.begin(2048);
10
- SerialDebug.onWrite([](const uint8_t *buffer, size_t size) {
11
-
12
- });
13
14
RAPI_PORT.begin(115200);
15
SerialEvse.begin(2048);
16
- SerialEvse.onWrite([](const uint8_t *buffer, size_t size) {
17
18
19
}
src/debug.h
@@ -1,3 +1,5 @@
1
+#ifndef __DEBUG_H
2
+#define __DEBUG_H
3
4
#undef DEBUG_PORT
5
#define DEBUG_PORT SerialDebug
@@ -12,3 +14,5 @@ extern StreamSpy SerialDebug;
extern StreamSpy SerialEvse;
extern void debug_setup();
+
+#endif // __DEBUG_H
0 commit comments