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:
parent
9b29d1dc50
commit
79742c5d24
5 changed files with 42 additions and 68 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue