Add missing space in ProgressCode message

Such that:
MMU2:P=123EngageIdler
Becomes:
MMU2:P=123 EngageIdler
This commit is contained in:
Guðni Már Gilbert 2022-04-24 09:18:30 +00:00 committed by D.R.racer
parent 2142cb0849
commit 52f7fb8c51
1 changed files with 2 additions and 2 deletions

View File

@ -636,7 +636,7 @@ void MMU2::ReportProgress(ProgressCode pc) {
// Log progress - example: MMU2:P=123 EngageIdler // Log progress - example: MMU2:P=123 EngageIdler
char msg[64]; char msg[64];
int len = snprintf(msg, sizeof(msg), "MMU2:P=%hu", (uint16_t)pc); int len = snprintf(msg, sizeof(msg), "MMU2:P=%hu ", (uint16_t)pc);
// Append a human readable form of the progress code // Append a human readable form of the progress code
TranslateProgress((uint16_t)pc, &msg[len], 64 - len); TranslateProgress((uint16_t)pc, &msg[len], 64 - len);