Make software USART used in the XPLAINBridge project directly check and store into the ring buffers, rather than polling from the main program loop to avoid added latency.
This commit is contained in:
@@ -77,7 +77,9 @@
|
||||
#define MODE_PDI_PROGRAMMER true
|
||||
|
||||
/* External Variables: */
|
||||
extern bool CurrentFirmwareMode;
|
||||
extern bool CurrentFirmwareMode;
|
||||
extern RingBuff_t UARTtoUSB_Buffer;
|
||||
extern RingBuff_t USBtoUART_Buffer;
|
||||
|
||||
/* Function Prototypes: */
|
||||
void SetupHardware(void);
|
||||
|
||||
Reference in New Issue
Block a user