diff --git a/Firmware/mmu2_log.cpp b/Firmware/mmu2_log.cpp index 288317b02..69531844b 100644 --- a/Firmware/mmu2_log.cpp +++ b/Firmware/mmu2_log.cpp @@ -3,7 +3,7 @@ namespace MMU2 { void LogErrorEvent_P(const char *msg){ - SERIAL_ERROR_START; + SERIAL_ECHO_START; //!@todo Decide MMU2 errors on serial line SERIAL_MMU2(); SERIAL_ECHOLNRPGM(msg); } diff --git a/Firmware/mmu2_log.h b/Firmware/mmu2_log.h index c4ad0bb67..fbbe7b6ee 100644 --- a/Firmware/mmu2_log.h +++ b/Firmware/mmu2_log.h @@ -23,9 +23,9 @@ void LogEchoEvent_P(const char *msg); #define SERIAL_MMU2() { serialprintPGM(mmu2Magic); } #define MMU2_ECHO_MSG(S) do{ SERIAL_ECHO_START; SERIAL_MMU2(); SERIAL_ECHO(S); }while(0) -#define MMU2_ERROR_MSG(S) do{ SERIAL_ERROR_START; SERIAL_MMU2(); SERIAL_ECHO(S); }while(0) +#define MMU2_ERROR_MSG(S) MMU2_ECHO_MSG(S) //!@todo Decide MMU2 errors on serial line #define MMU2_ECHO_MSGRPGM(S) do{ SERIAL_ECHO_START; SERIAL_MMU2(); SERIAL_ECHORPGM(S); }while(0) -#define MMU2_ERROR_MSGRPGM(S) do{ SERIAL_ERROR_START; SERIAL_MMU2(); SERIAL_ECHORPGM(S); }while(0) +#define MMU2_ERROR_MSGRPGM(S) MMU2_ECHO_MSGRPGM(S) //!@todo Decide MMU2 errors on serial line #else // #ifndef UNITTEST