Skip to content

Commit 954f116

Browse files
committed
Few bits of tidy up
1 parent 7fea15f commit 954f116

File tree

3 files changed

+7
-5569
lines changed

3 files changed

+7
-5569
lines changed

src/debug.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ void debug_setup()
77
{
88
DEBUG_PORT.begin(115200);
99
SerialDebug.begin(2048);
10-
SerialDebug.onWrite([](const uint8_t *buffer, size_t size) {
11-
12-
});
1310

1411
RAPI_PORT.begin(115200);
1512
SerialEvse.begin(2048);
16-
SerialEvse.onWrite([](const uint8_t *buffer, size_t size) {
17-
18-
});
1913
}

src/debug.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef __DEBUG_H
2+
#define __DEBUG_H
13

24
#undef DEBUG_PORT
35
#define DEBUG_PORT SerialDebug
@@ -12,3 +14,5 @@ extern StreamSpy SerialDebug;
1214
extern StreamSpy SerialEvse;
1315

1416
extern void debug_setup();
17+
18+
#endif // __DEBUG_H

0 commit comments

Comments
 (0)