From 9b29d1dc5045b74516e0ddd3ffcc200ef8ad9bff Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 26 May 2010 06:35:02 +0000 Subject: Create a new LightweightRingBuffer.h header file for the XPLAIN project to abstract out the new ring buffer without a performance penalty. --- Projects/XPLAINBridge/XPLAINBridge.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'Projects/XPLAINBridge/XPLAINBridge.h') 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 + #include "Lib/LightweightRingBuff.h" + #include "Lib/SoftUART.h" + #include "Lib/V2Protocol.h" #include #include @@ -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; -- cgit v1.2.3