Disable `Error:` messages for MMU2 errors
This commit is contained in:
parent
8543942acb
commit
1e0909d50c
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue