CRC optional, replaced by magic on USB

This commit is contained in:
Philippe Teuwen 2019-04-18 21:39:35 +02:00
commit 9ff841efb2
7 changed files with 75 additions and 49 deletions

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);