basecmd: Rename get_status to get_clock
Change the get_status command to get_clock. Don't report the shutdown status in the new get_clock command. The primary purpose of this change is to force the host code to report a firmware version mismatch with older firmwares as recent changes (namely the ordering of message block acks) have subtle incompatibilities if different host/mcu code is used. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -240,11 +240,11 @@ config_reset(uint32_t *args)
|
||||
****************************************************************/
|
||||
|
||||
void
|
||||
command_get_status(uint32_t *args)
|
||||
command_get_clock(uint32_t *args)
|
||||
{
|
||||
sendf("status clock=%u status=%c", timer_read_time(), sched_is_shutdown());
|
||||
sendf("clock clock=%u", timer_read_time());
|
||||
}
|
||||
DECL_COMMAND_FLAGS(command_get_status, HF_IN_SHUTDOWN, "get_status");
|
||||
DECL_COMMAND_FLAGS(command_get_clock, HF_IN_SHUTDOWN, "get_clock");
|
||||
|
||||
static uint32_t stats_send_time, stats_send_time_high;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user