diff options
author | Dean Camera <[email protected]> | 2010-05-26 06:35:02 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-05-26 06:35:02 +0000 |
commit | 9b29d1dc5045b74516e0ddd3ffcc200ef8ad9bff (patch) | |
tree | 77c55d0cc5d3c065be1144bd62e21d18a2d02f30 /Projects/XPLAINBridge/XPLAINBridge.h | |
parent | 9c037a952f5aaf78c4e13398506cfa2d588bb449 (diff) | |
download | qmk_firmware-9b29d1dc5045b74516e0ddd3ffcc200ef8ad9bff.tar.gz qmk_firmware-9b29d1dc5045b74516e0ddd3ffcc200ef8ad9bff.zip |
Create a new LightweightRingBuffer.h header file for the XPLAIN project to abstract out the new ring buffer without a performance penalty.
Diffstat (limited to 'Projects/XPLAINBridge/XPLAINBridge.h')
-rw-r--r-- | Projects/XPLAINBridge/XPLAINBridge.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Projects/XPLAINBridge/XPLAINBridge.h b/Projects/XPLAINBridge/XPLAINBridge.h index 2fa84d3f33..ddb5b0e0cc 100644 --- a/Projects/XPLAINBridge/XPLAINBridge.h +++ b/Projects/XPLAINBridge/XPLAINBridge.h @@ -45,8 +45,9 @@ #include "AVRISPDescriptors.h" #include "USARTDescriptors.h" - #include "Lib/SoftUART.h" - #include <Lib/V2Protocol.h> + #include "Lib/LightweightRingBuff.h" + #include "Lib/SoftUART.h" + #include "Lib/V2Protocol.h" #include <LUFA/Version.h> #include <LUFA/Drivers/Board/LEDs.h> @@ -74,14 +75,6 @@ /** Firmware mode define for the AVRISP Programmer mode. */ #define MODE_PDI_PROGRAMMER true - - /* Type Defines: */ - typedef struct - { - uint8_t Buffer[128]; - uint8_t* In; - uint8_t* Out; - } RingBuff_t; /* External Variables: */ extern bool CurrentFirmwareMode; |