|
@@ -30,7 +30,8 @@
|
30
|
30
|
#define BUG_ON(V...) do { SERIAL_ECHOPAIR(ONLY_FILENAME, __LINE__, ": "); SERIAL_ECHOLNPAIR(V); SERIAL_FLUSHTX(); *(char*)0 = 42; } while(0)
|
31
|
31
|
#elif ENABLED(MARLIN_DEV_MODE)
|
32
|
32
|
// Don't stop the CPU here, but at least dump the bug on the serial port
|
33
|
|
- #define BUG_ON(V...) do { SERIAL_ECHOPAIR(ONLY_FILENAME, __LINE__, ": BUG!\n"); SERIAL_ECHOLNPAIR(V); SERIAL_FLUSHTX(); } while(0)
|
|
33
|
+ //#define BUG_ON(V...) do { SERIAL_ECHOPAIR(ONLY_FILENAME, __LINE__, ": BUG!\n"); SERIAL_ECHOLNPAIR(V); SERIAL_FLUSHTX(); } while(0)
|
|
34
|
+ #define BUG_ON(V...) NOOP
|
34
|
35
|
#else
|
35
|
36
|
// Release mode, let's ignore the bug
|
36
|
37
|
#define BUG_ON(V...) NOOP
|