aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-06-15 15:06:10 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-06-29 13:33:58 -0400
commit292453d3060abf81e13aeb7bc7d76d3c3709da79 (patch)
tree2cec3840a26418b5d84efde4ef8230e44c18c6ac /src/command.h
parent1ae78d08e9a7d356c4b8555799ee42c9244c1b7d (diff)
downloadkutter-292453d3060abf81e13aeb7bc7d76d3c3709da79.tar.gz
kutter-292453d3060abf81e13aeb7bc7d76d3c3709da79.tar.xz
kutter-292453d3060abf81e13aeb7bc7d76d3c3709da79.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h2
1 files changed, 2 insertions, 0 deletions
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 {