aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-05-28 11:38:04 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-05-29 10:57:29 -0400
commitb93fd5b1b569533d610fc684bc2a64166bad624c (patch)
tree61a14a16904cddd3d3fc0f557d09839ea405e39d /src
parent879c45db191251af2a00e75bf6ba89ab876c2fad (diff)
downloadkutter-b93fd5b1b569533d610fc684bc2a64166bad624c.tar.gz
kutter-b93fd5b1b569533d610fc684bc2a64166bad624c.tar.xz
kutter-b93fd5b1b569533d610fc684bc2a64166bad624c.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/basecmd.c6
1 files changed, 3 insertions, 3 deletions
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;