I can not find any recent thread on this topic, so here is a new one.
I am attempting to use LightweightRingBuff.h and having compile errors.
It seems that there are several versions of his out in the wild including the LUFA version.
The example in the manual is not quit in sync with the version above.
Error 1 expected declaration specifiers or '...' before '&' token file: deanSerialTestINT.c
This refer to the last line in the code snip
#include "LightweightRingBuff.h" // Create the buffer structure and its underlying storage array RingBuff_t rxBuffer; RingBuff_Data_t rxBufferData[BUFFER_SIZE]; RingBuffer_InitBuffer(&rxBuffer);
Also I am confused by the line (from the example in the manual)
Is this not defined in the struct?
I m using Atmel Studio 6.2 1153