aboutsummaryrefslogtreecommitdiff
path: root/Projects/XPLAINBridge/XPLAINBridge.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-05-26 06:15:05 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-05-26 06:15:05 +0000
commit3676b6fea04af521c9d39b0074dacc7e71f96501 (patch)
treeee69e6a65a6d81851005c977deceded153d5c2af /Projects/XPLAINBridge/XPLAINBridge.h
parentd1303038a590b695735bc8396bf1b694f97853d2 (diff)
The RingBuff library code has been replaced in the XPLAINBridge project with an ultra lightweight buffer to help improve the reliability of the bridge.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1277 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/XPLAINBridge/XPLAINBridge.h')
-rw-r--r--Projects/XPLAINBridge/XPLAINBridge.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Projects/XPLAINBridge/XPLAINBridge.h b/Projects/XPLAINBridge/XPLAINBridge.h
index 9c90a8b3..2fa84d3f 100644
--- a/Projects/XPLAINBridge/XPLAINBridge.h
+++ b/Projects/XPLAINBridge/XPLAINBridge.h
@@ -45,7 +45,6 @@
#include "AVRISPDescriptors.h"
#include "USARTDescriptors.h"
- #include "Lib/RingBuff.h"
#include "Lib/SoftUART.h"
#include <Lib/V2Protocol.h>
@@ -74,7 +73,15 @@
#define MODE_USART_BRIDGE false
/** Firmware mode define for the AVRISP Programmer mode. */
- #define MODE_PDI_PROGRAMMER true
+ #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;