🐛 Fix anycubic_i3mega_lcd debug macros (#22820)
This commit is contained in:
parent
b7f95dc8d4
commit
9ae6351a02
@ -38,8 +38,8 @@
|
|||||||
#define SEND(x) send(x)
|
#define SEND(x) send(x)
|
||||||
#define SENDLINE(x) sendLine(x)
|
#define SENDLINE(x) sendLine(x)
|
||||||
#if ENABLED(ANYCUBIC_LCD_DEBUG)
|
#if ENABLED(ANYCUBIC_LCD_DEBUG)
|
||||||
#define SENDLINE_DBG_PGM(x,y) (sendLine_P(PSTR(x)), SERIAL_ECHOLNPGM(y))
|
#define SENDLINE_DBG_PGM(x,y) do{ sendLine_P(PSTR(x)); SERIAL_ECHOLNPGM(y); }while(0)
|
||||||
#define SENDLINE_DBG_PGM_VAL(x,y,z) (sendLine_P(PSTR(x)), SERIAL_ECHOPGM(y), SERIAL_ECHOLN(z))
|
#define SENDLINE_DBG_PGM_VAL(x,y,z) do{ sendLine_P(PSTR(x)); SERIAL_ECHOLNPGM(y, z); }while(0)
|
||||||
#else
|
#else
|
||||||
#define SENDLINE_DBG_PGM(x,y) sendLine_P(PSTR(x))
|
#define SENDLINE_DBG_PGM(x,y) sendLine_P(PSTR(x))
|
||||||
#define SENDLINE_DBG_PGM_VAL(x,y,z) sendLine_P(PSTR(x))
|
#define SENDLINE_DBG_PGM_VAL(x,y,z) sendLine_P(PSTR(x))
|
||||||
|
Loading…
Reference in New Issue
Block a user