From 50b6044703c6fa2cdac7c783bf64637db776595b Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Fri, 16 Sep 2022 18:17:50 +0200 Subject: [PATCH] Use origin message on serial --- Firmware/mmu2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 98582a27d..abbb20b5f 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -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){