aboutsummaryrefslogtreecommitdiff
path: root/fw/protocol.h
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-01-12 22:38:23 +0900
committerjaseg <git@jaseg.net>2019-01-12 22:38:23 +0900
commit2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06 (patch)
tree08c3cc55ac3938086a2845fa8a8a7e3a03814ba0 /fw/protocol.h
parent43f64f0e1fad6e3586cdd5b6f0243f03db9adc23 (diff)
download8seg-2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06.tar.gz
8seg-2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06.tar.bz2
8seg-2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06.zip
bulk cmd test works
Diffstat (limited to 'fw/protocol.h')
-rw-r--r--fw/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/protocol.h b/fw/protocol.h
index 508cfdd..9178c42 100644
--- a/fw/protocol.h
+++ b/fw/protocol.h
@@ -1,7 +1,7 @@
#ifndef __PROTOCOL_H__
#define __PROTOCOL_H__
-#include "global.h"
+#include <stdint.h>
#define PKT_TYPE_BULK_FLAG 0x80
@@ -24,5 +24,6 @@ struct command_if_def {
void handle_command(int command, uint8_t *args);
void receive_symbol(struct proto_rx_st *st, int symbol);
+void reset_receiver(struct proto_rx_st *st, struct command_if_def *cmd_if);
#endif