Use origin message on serial

This commit is contained in:
3d-gussner 2022-09-16 18:17:50 +02:00
parent 3f6b05cc35
commit 50b6044703
1 changed files with 2 additions and 2 deletions

View File

@ -815,7 +815,7 @@ void MMU2::ReportError(ErrorCode ec, uint8_t res) {
if( ec != lastErrorCode ){ // deduplicate: only report changes in error codes into the log
lastErrorCode = ec;
LogErrorEvent_P( _T(PrusaErrorTitle(PrusaErrorCodeIndex((uint16_t)ec))) );
LogErrorEvent_P( _O(PrusaErrorTitle(PrusaErrorCodeIndex((uint16_t)ec))) );
}
static_assert(mmu2Magic[0] == 'M'
@ -830,7 +830,7 @@ void MMU2::ReportError(ErrorCode ec, uint8_t res) {
void MMU2::ReportProgress(ProgressCode pc) {
ReportProgressHook((CommandInProgress)logic.CommandInProgress(), (uint16_t)pc);
LogEchoEvent_P( _T(ProgressCodeToText((uint16_t)pc)) );
LogEchoEvent_P( _O(ProgressCodeToText((uint16_t)pc)) );
}
void MMU2::OnMMUProgressMsg(ProgressCode pc){