Add _P variants to debug_out
This commit is contained in:
parent
efc3873149
commit
4718b8ad02
|
@ -35,11 +35,16 @@
|
||||||
#undef DEBUG_ECHO_F
|
#undef DEBUG_ECHO_F
|
||||||
#undef DEBUG_ECHOLN
|
#undef DEBUG_ECHOLN
|
||||||
#undef DEBUG_ECHOPGM
|
#undef DEBUG_ECHOPGM
|
||||||
#undef DEBUG_ECHOLNPGM
|
#undef DEBUG_ECHOPGM_P
|
||||||
|
#undef DEBUG_ECHOLNPGM_P
|
||||||
#undef DEBUG_ECHOPAIR
|
#undef DEBUG_ECHOPAIR
|
||||||
|
#undef DEBUG_ECHOPAIR_P
|
||||||
#undef DEBUG_ECHOPAIR_F
|
#undef DEBUG_ECHOPAIR_F
|
||||||
|
#undef DEBUG_ECHOPAIR_F_P
|
||||||
#undef DEBUG_ECHOLNPAIR
|
#undef DEBUG_ECHOLNPAIR
|
||||||
|
#undef DEBUG_ECHOLNPAIR_P
|
||||||
#undef DEBUG_ECHOLNPAIR_F
|
#undef DEBUG_ECHOLNPAIR_F
|
||||||
|
#undef DEBUG_ECHOLNPAIR_F_P
|
||||||
#undef DEBUG_ECHO_MSG
|
#undef DEBUG_ECHO_MSG
|
||||||
#undef DEBUG_ERROR_MSG
|
#undef DEBUG_ERROR_MSG
|
||||||
#undef DEBUG_EOL
|
#undef DEBUG_EOL
|
||||||
|
@ -56,11 +61,16 @@
|
||||||
#define DEBUG_ECHO_F SERIAL_ECHO_F
|
#define DEBUG_ECHO_F SERIAL_ECHO_F
|
||||||
#define DEBUG_ECHOLN SERIAL_ECHOLN
|
#define DEBUG_ECHOLN SERIAL_ECHOLN
|
||||||
#define DEBUG_ECHOPGM SERIAL_ECHOPGM
|
#define DEBUG_ECHOPGM SERIAL_ECHOPGM
|
||||||
#define DEBUG_ECHOLNPGM SERIAL_ECHOLNPGM
|
#define DEBUG_ECHOPGM_P SERIAL_ECHOPGM_P
|
||||||
|
#define DEBUG_ECHOLNPGM_P SERIAL_ECHOLNPGM_P
|
||||||
#define DEBUG_ECHOPAIR SERIAL_ECHOPAIR
|
#define DEBUG_ECHOPAIR SERIAL_ECHOPAIR
|
||||||
|
#define DEBUG_ECHOPAIR_P SERIAL_ECHOPAIR_P
|
||||||
#define DEBUG_ECHOPAIR_F SERIAL_ECHOPAIR_F
|
#define DEBUG_ECHOPAIR_F SERIAL_ECHOPAIR_F
|
||||||
|
#define DEBUG_ECHOPAIR_F_P SERIAL_ECHOPAIR_F_P
|
||||||
#define DEBUG_ECHOLNPAIR SERIAL_ECHOLNPAIR
|
#define DEBUG_ECHOLNPAIR SERIAL_ECHOLNPAIR
|
||||||
|
#define DEBUG_ECHOLNPAIR_P SERIAL_ECHOLNPAIR_P
|
||||||
#define DEBUG_ECHOLNPAIR_F SERIAL_ECHOLNPAIR_F
|
#define DEBUG_ECHOLNPAIR_F SERIAL_ECHOLNPAIR_F
|
||||||
|
#define DEBUG_ECHOLNPAIR_F_P SERIAL_ECHOLNPAIR_F_P
|
||||||
#define DEBUG_ECHO_MSG SERIAL_ECHO_MSG
|
#define DEBUG_ECHO_MSG SERIAL_ECHO_MSG
|
||||||
#define DEBUG_ERROR_MSG SERIAL_ERROR_MSG
|
#define DEBUG_ERROR_MSG SERIAL_ERROR_MSG
|
||||||
#define DEBUG_EOL SERIAL_EOL
|
#define DEBUG_EOL SERIAL_EOL
|
||||||
|
@ -68,25 +78,31 @@
|
||||||
#define DEBUG_XYZ SERIAL_XYZ
|
#define DEBUG_XYZ SERIAL_XYZ
|
||||||
#define DEBUG_DELAY(ms) serial_delay(ms)
|
#define DEBUG_DELAY(ms) serial_delay(ms)
|
||||||
#else
|
#else
|
||||||
#define DEBUG_PRINT_P(P) NOOP
|
#define DEBUG_PRINT_P(P) NOOP
|
||||||
#define DEBUG_ECHO_START() NOOP
|
#define DEBUG_ECHO_START() NOOP
|
||||||
#define DEBUG_ERROR_START() NOOP
|
#define DEBUG_ERROR_START() NOOP
|
||||||
#define DEBUG_CHAR(...) NOOP
|
#define DEBUG_CHAR(...) NOOP
|
||||||
#define DEBUG_ECHO(...) NOOP
|
#define DEBUG_ECHO(...) NOOP
|
||||||
#define DEBUG_ECHO_F(...) NOOP
|
#define DEBUG_ECHO_F(...) NOOP
|
||||||
#define DEBUG_ECHOLN(...) NOOP
|
#define DEBUG_ECHOLN(...) NOOP
|
||||||
#define DEBUG_ECHOPGM(...) NOOP
|
#define DEBUG_ECHOPGM(...) NOOP
|
||||||
#define DEBUG_ECHOLNPGM(...) NOOP
|
#define DEBUG_ECHOPGM_P(...) NOOP
|
||||||
#define DEBUG_ECHOPAIR(...) NOOP
|
#define DEBUG_ECHOLNPGM(...) NOOP
|
||||||
#define DEBUG_ECHOPAIR_F(...) NOOP
|
#define DEBUG_ECHOLNPGM_P(...) NOOP
|
||||||
#define DEBUG_ECHOLNPAIR(...) NOOP
|
#define DEBUG_ECHOPAIR(...) NOOP
|
||||||
#define DEBUG_ECHOLNPAIR_F(...) NOOP
|
#define DEBUG_ECHOPAIR_P(...) NOOP
|
||||||
#define DEBUG_ECHO_MSG(...) NOOP
|
#define DEBUG_ECHOPAIR_F(...) NOOP
|
||||||
#define DEBUG_ERROR_MSG(...) NOOP
|
#define DEBUG_ECHOPAIR_F_P(...) NOOP
|
||||||
#define DEBUG_EOL() NOOP
|
#define DEBUG_ECHOLNPAIR(...) NOOP
|
||||||
#define DEBUG_POS(...) NOOP
|
#define DEBUG_ECHOLNPAIR_P(...) NOOP
|
||||||
#define DEBUG_XYZ(...) NOOP
|
#define DEBUG_ECHOLNPAIR_F(...) NOOP
|
||||||
#define DEBUG_DELAY(...) NOOP
|
#define DEBUG_ECHOLNPAIR_F_P(...) NOOP
|
||||||
|
#define DEBUG_ECHO_MSG(...) NOOP
|
||||||
|
#define DEBUG_ERROR_MSG(...) NOOP
|
||||||
|
#define DEBUG_EOL() NOOP
|
||||||
|
#define DEBUG_POS(...) NOOP
|
||||||
|
#define DEBUG_XYZ(...) NOOP
|
||||||
|
#define DEBUG_DELAY(...) NOOP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef DEBUG_OUT
|
#undef DEBUG_OUT
|
||||||
|
|
Loading…
Reference in a new issue