From d015c05c7a141f183647fe0cd64c332b7af23800 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 2 Dec 2014 20:06:26 +0100 Subject: o Splitting out the app code into its own file. o Understanding how pipes work, getting a TX part of a pipe to work. --- app.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app.h (limited to 'app.h') diff --git a/app.h b/app.h new file mode 100644 index 0000000..e892a42 --- /dev/null +++ b/app.h @@ -0,0 +1,15 @@ +#ifndef APP_H +#define APP_H + +#include + +#define FSP_CMD_GAUGE_COUNT 1 +#define FSP_CMD_GAUGE_INFO 2 + +bool send_ctrl(uint8_t *data, uint8_t len); + +void on_gauge_data(uint8_t *data, uint8_t len); +void on_gauge_ctrl(uint8_t *data, uint8_t len); + +#endif + -- cgit v1.2.3