Skip to content

Commit 0d5363a

Browse files
committed
Fix undefined deep debugging
1 parent ad21080 commit 0d5363a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ModSensorDebugger.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@
7373
#endif // DEBUGGING_SERIAL_OUTPUT
7474

7575

76-
#if defined DEBUGGING_SERIAL_OUTPUT && defined MS_DEBUGGING_DEEP
76+
#ifndef DEEP_DEBUGGING_SERIAL_OUTPUT
77+
#define DEEP_DEBUGGING_SERIAL_OUTPUT DEBUGGING_SERIAL_OUTPUT
78+
#endif // ifndef DEEP_DEBUGGING_SERIAL_OUTPUT
79+
80+
#if defined DEEP_DEBUGGING_SERIAL_OUTPUT && defined MS_DEBUGGING_DEEP
7781
namespace {
7882
template<typename T>
7983
static void MS_DEEP_DBG(T last) {

0 commit comments

Comments
 (0)