Use origin message on serial
This commit is contained in:
parent
3f6b05cc35
commit
50b6044703
|
|
@ -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
|
if( ec != lastErrorCode ){ // deduplicate: only report changes in error codes into the log
|
||||||
lastErrorCode = ec;
|
lastErrorCode = ec;
|
||||||
LogErrorEvent_P( _T(PrusaErrorTitle(PrusaErrorCodeIndex((uint16_t)ec))) );
|
LogErrorEvent_P( _O(PrusaErrorTitle(PrusaErrorCodeIndex((uint16_t)ec))) );
|
||||||
}
|
}
|
||||||
|
|
||||||
static_assert(mmu2Magic[0] == 'M'
|
static_assert(mmu2Magic[0] == 'M'
|
||||||
|
|
@ -830,7 +830,7 @@ void MMU2::ReportError(ErrorCode ec, uint8_t res) {
|
||||||
|
|
||||||
void MMU2::ReportProgress(ProgressCode pc) {
|
void MMU2::ReportProgress(ProgressCode pc) {
|
||||||
ReportProgressHook((CommandInProgress)logic.CommandInProgress(), (uint16_t)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){
|
void MMU2::OnMMUProgressMsg(ProgressCode pc){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue