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:
Dean Camera 2010-05-26 06:59:55 +00:00
parent 9b29d1dc50
commit 79742c5d24
5 changed files with 42 additions and 68 deletions

View file

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