aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge/XPLAINBridge.h
diff options
context:
space:
mode:
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 9c90a8b3d..2fa84d3f3 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;