From b93fd5b1b569533d610fc684bc2a64166bad624c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 28 May 2018 11:38:04 -0400 Subject: 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 --- src/basecmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/basecmd.c') diff --git a/src/basecmd.c b/src/basecmd.c index 8ce7a27c..f554c13e 100644 --- a/src/basecmd.c +++ b/src/basecmd.c @@ -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; -- cgit v1.2.3-70-g09d2