From 292453d3060abf81e13aeb7bc7d76d3c3709da79 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 15 Jun 2017 15:06:10 -0400 Subject: command: Move command_task() to board specific code Move the command_task() code from the generic code to the board specific code. This enables more flexibility in how the board specific code processes input. Signed-off-by: Kevin O'Connor --- src/command.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 5bd6faf4..f2d90ee4 100644 --- a/src/command.h +++ b/src/command.h @@ -35,6 +35,8 @@ // command.c struct command_encoder; void _sendf(const struct command_encoder *ce, ...); +int8_t command_find_block(char *buf, uint8_t buf_len, uint8_t *pop_count); +void command_dispatch(char *buf, uint8_t msglen); // out/compile_time_request.c (auto generated file) struct command_encoder { -- cgit v1.2.3-70-g09d2