Rename RingBuffer header functions and typedefs from RingBuff_* to RingBuffer_* so that it matches the header name.
This commit is contained in:
parent
cb9ef559a0
commit
64fe1cd0b2
5 changed files with 22 additions and 22 deletions
|
@ -37,10 +37,10 @@
|
|||
#include "Benito.h"
|
||||
|
||||
/** Circular buffer to hold data from the serial port before it is sent to the host. */
|
||||
RingBuff_t USARTtoUSB_Buffer;
|
||||
RingBuffer_t USARTtoUSB_Buffer;
|
||||
|
||||
/** Underlying data buffer for \ref USARTtoUSB_Buffer, where the stored bytes are located. */
|
||||
uint8_t USARTtoUSB_Buffer_Data[128];
|
||||
uint8_t USARTtoUSB_Buffer_Data[128];
|
||||
|
||||
/** Pulse generation counters to keep track of the number of milliseconds remaining for each pulse type */
|
||||
volatile struct
|
||||
|
|
|
@ -37,13 +37,13 @@
|
|||
#include "USBtoSerial.h"
|
||||
|
||||
/** Circular buffer to hold data from the host before it is sent to the device via the serial port. */
|
||||
RingBuff_t USBtoUSART_Buffer;
|
||||
RingBuffer_t USBtoUSART_Buffer;
|
||||
|
||||
/** Underlying data buffer for \ref USBtoUSART_Buffer, where the stored bytes are located. */
|
||||
uint8_t USBtoUSART_Buffer_Data[128];
|
||||
uint8_t USBtoUSART_Buffer_Data[128];
|
||||
|
||||
/** Circular buffer to hold data from the serial port before it is sent to the host. */
|
||||
RingBuff_t USARTtoUSB_Buffer;
|
||||
RingBuffer_t USARTtoUSB_Buffer;
|
||||
|
||||
/** Underlying data buffer for \ref USARTtoUSB_Buffer, where the stored bytes are located. */
|
||||
uint8_t USARTtoUSB_Buffer_Data[128];
|
||||
|
|
|
@ -64,16 +64,16 @@ USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface =
|
|||
};
|
||||
|
||||
/** Circular buffer to hold data from the host before it is sent to the device via the serial port. */
|
||||
RingBuff_t USBtoUART_Buffer;
|
||||
RingBuffer_t USBtoUART_Buffer;
|
||||
|
||||
/** Underlying data buffer for \ref USBtoUART_Buffer, where the stored bytes are located. */
|
||||
uint8_t USBtoUART_Buffer_Data[128];
|
||||
uint8_t USBtoUART_Buffer_Data[128];
|
||||
|
||||
/** Circular buffer to hold data from the serial port before it is sent to the host. */
|
||||
RingBuff_t UARTtoUSB_Buffer;
|
||||
RingBuffer_t UARTtoUSB_Buffer;
|
||||
|
||||
/** Underlying data buffer for \ref UARTtoUSB_Buffer, where the stored bytes are located. */
|
||||
uint8_t UARTtoUSB_Buffer_Data[128];
|
||||
uint8_t UARTtoUSB_Buffer_Data[128];
|
||||
|
||||
|
||||
/** Main program entry point. This routine contains the overall program flow, including initial
|
||||
|
|
|
@ -77,9 +77,9 @@
|
|||
#define MODE_PDI_PROGRAMMER true
|
||||
|
||||
/* External Variables: */
|
||||
extern bool CurrentFirmwareMode;
|
||||
extern RingBuff_t UARTtoUSB_Buffer;
|
||||
extern RingBuff_t USBtoUART_Buffer;
|
||||
extern bool CurrentFirmwareMode;
|
||||
extern RingBuffer_t UARTtoUSB_Buffer;
|
||||
extern RingBuffer_t USBtoUART_Buffer;
|
||||
|
||||
/* Function Prototypes: */
|
||||
void SetupHardware(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue