The RingBuff library code has been replaced in the XPLAINBridge project with an ultra lightweight buffer to help improve the reliability of the bridge.

This commit is contained in:
Dean Camera 2010-05-26 06:15:05 +00:00
parent 4a13a5484a
commit 9c037a952f
10 changed files with 69 additions and 283 deletions

View file

@ -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;