v1.3增加一个简单的越障模式
This commit is contained in:
1 parent
9d56ba85f1
commit
7a1931cb72
1835 files changed
+475654
-1
No files matched your search
@@ -0,0 +1,15 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "fl/unused.h"
|
||||
|
||||
|
||||
extern bool is_debugging;
|
||||
//#define ENABLE_DPRINT
|
||||
#ifdef ENABLE_DPRINT
|
||||
#define dprint(x) if (is_debugging) { Serial.print(x); }
|
||||
#define dprintln(x) if (is_debugging) { Serial.println(x); }
|
||||
#else
|
||||
#define dprint(x) FL_UNUSED(x)
|
||||
#define dprintln(x) FL_UNUSED(x)
|
||||
#endif
|
||||
Reference in new issue
Block a user