mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-08-13 19:49:24 +03:00
fixed -flto problem (usb_dev.c needs -fno-lto)
This commit is contained in:
@@ -24,7 +24,7 @@ typedef struct{
|
||||
const int length; // its length
|
||||
volatile int head; // head index
|
||||
volatile int tail; // tail index
|
||||
volatile bool busy; // == TRUE if buffer is busy now
|
||||
volatile uint8_t busy; // == TRUE if buffer is busy now
|
||||
} ringbuffer;
|
||||
|
||||
int RB_read(ringbuffer *b, uint8_t *s, int len);
|
||||
|
||||
Reference in New Issue
Block a user