From 2d392fe60a9cc6c9541ae5db9b7857b7c0cdae06 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 12 Jan 2019 22:38:23 +0900 Subject: bulk cmd test works --- fw/protocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fw/protocol.h') 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 #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 -- cgit