Fix #12: Timing monitors are now correctly displayed in flags command
This commit is contained in:
parent
0395cd19d4
commit
432d30cc34
@ -416,9 +416,9 @@ static shellmatta_retCode_t shell_cmd_read_flags(const shellmatta_handle_t handl
|
||||
|
||||
shellmatta_printf(handle, "\t%2lu) %-20s\t", i+1, name);
|
||||
if (timing_info.enabled)
|
||||
shellmatta_printf(handle, "%lu ms ago\r\n", (unsigned long int)timing_info.delta);
|
||||
shellmatta_printf(handle, "last tick: %lu ms\r\n", (unsigned long int)timing_info.delta);
|
||||
else
|
||||
shellmatta_printf(handle, "[disabled]\r\n");
|
||||
shellmatta_printf(handle, "\e[1;31mDISABLED\e[m\r\n");
|
||||
}
|
||||
|
||||
return SHELLMATTA_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user