Ring Buffer
1.0.0
buffWrite
/buffRead
functionsjnk0le::Ringbuffer message;
int main()
{
//...
while(1)
{
const char* tmp = nullptr;
while(!message.remove(tmp));
printf("%s firedn", tmp);
//...
}
}
extern "C" void SysTick_Handler(void)
{
message.insert("SysTick_Handler");
}