diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2014-12-02 20:06:26 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2014-12-02 20:11:17 +0100 |
commit | d015c05c7a141f183647fe0cd64c332b7af23800 (patch) | |
tree | 102f40ac6489b0eaaac67147aaeeb9f37e3c9e7a /app.h | |
parent | 06ada95ebb5f41c6725ffd9e46df2049abc0c177 (diff) | |
download | fiken_status_panel-d015c05c7a141f183647fe0cd64c332b7af23800.tar.gz fiken_status_panel-d015c05c7a141f183647fe0cd64c332b7af23800.tar.bz2 fiken_status_panel-d015c05c7a141f183647fe0cd64c332b7af23800.tar.xz fiken_status_panel-d015c05c7a141f183647fe0cd64c332b7af23800.zip |
o Splitting out the app code into its own file.
o Understanding how pipes work, getting a TX part of a pipe to work.
Diffstat (limited to 'app.h')
-rw-r--r-- | app.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#ifndef APP_H +#define APP_H + +#include <stdint.h> + +#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 + |