CRC optional, replaced by magic on USB

This commit is contained in:
Philippe Teuwen committed 2019-04-18 21:39:35 +02:00
1 parent 482db05741
commit 9ff841efb2
7 files changed
+75 -49

No files matched your search

+5
View File
@@ -44,6 +44,11 @@ typedef struct {
bool block_after_ACK; // if true, block after receiving an ACK package
} communication_arg_t;
// Flags to tell where to add CRC on sent replies
extern bool send_with_crc_on_usb;
extern bool send_with_crc_on_fpc;
// "Session" flag, to tell via which interface next msgs are sent: USB or FPC USART
extern bool send_via_fpc;
void SetOffline(bool value);
bool IsOffline(void);