3 #include <avr/pgmspace.h>
9 static constexpr
char mmu2Magic[] PROGMEM =
"MMU2:";
31 #include "../../core/serial.h"
33 #define SERIAL_MMU2() \
34 { serialprintPGM(mmu2Magic); }
36 #define MMU2_ECHO_MSGLN(S) \
42 #define MMU2_ERROR_MSGLN(S) MMU2_ECHO_MSGLN(S)
43 #define MMU2_ECHO_MSGRPGM(S) \
49 #define MMU2_ERROR_MSGRPGM(S) MMU2_ECHO_MSGRPGM(S)
50 #define MMU2_ECHO_MSG(S) \
56 #define MMU2_ERROR_MSG(S) MMU2_ECHO_MSG(S)
59 #include "stubs/stub_interfaces.h"
60 #define MMU2_ECHO_MSGLN(S) marlinLogSim.AppendLine(S)
61 #define MMU2_ERROR_MSGLN(S) marlinLogSim.AppendLine(S)
62 #define MMU2_ECHO_MSGRPGM(S)
63 #define MMU2_ERROR_MSGRPGM(S)
64 #define SERIAL_ECHOLNPGM(S)
65 #define SERIAL_ECHOPGM(S)
66 #define SERIAL_ECHOLN(S)
New MMU2 protocol logic.
Definition: mmu2.cpp:26
void LogErrorEvent_P(const char *msg)
Definition: mmu2_log.cpp:5
void LogEchoEvent_P(const char *msg)
Definition: mmu2_log.cpp:11