Disable `Error:` messages for MMU2 errors

This commit is contained in:
3d-gussner 2022-10-27 12:36:30 +02:00 committed by DRracer
parent 8543942acb
commit 1e0909d50c
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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