Add missing space in ProgressCode message
Such that: MMU2:P=123EngageIdler Becomes: MMU2:P=123 EngageIdler
This commit is contained in:
parent
2142cb0849
commit
52f7fb8c51
|
|
@ -633,10 +633,10 @@ void MMU2::ReportError(ErrorCode ec) {
|
|||
|
||||
void MMU2::ReportProgress(ProgressCode pc) {
|
||||
ReportProgressHook((CommandInProgress)logic.CommandInProgress(), (uint16_t)pc);
|
||||
|
||||
|
||||
// Log progress - example: MMU2:P=123 EngageIdler
|
||||
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
|
||||
TranslateProgress((uint16_t)pc, &msg[len], 64 - len);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue