aboutsummaryrefslogtreecommitdiff
path: root/Projects/XPLAINBridge/XPLAINBridge.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-05-26 06:59:55 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-05-26 06:59:55 +0000
commit86321f6b219c361bec6df9ce071aea07d133d716 (patch)
tree586e05a47ddcd226311d6f965885f3bde6c0fc4a /Projects/XPLAINBridge/XPLAINBridge.h
parent220cad2bf8d78c0fc31aa878d8ece86fb3e08a0a (diff)
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.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1279 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/XPLAINBridge/XPLAINBridge.h')
-rw-r--r--Projects/XPLAINBridge/XPLAINBridge.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Projects/XPLAINBridge/XPLAINBridge.h b/Projects/XPLAINBridge/XPLAINBridge.h
index ddb5b0e0..72e90463 100644
--- a/Projects/XPLAINBridge/XPLAINBridge.h
+++ b/Projects/XPLAINBridge/XPLAINBridge.h
@@ -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);