fixed -flto problem (usb_dev.c needs -fno-lto)

This commit is contained in:
Edward Emelianov
2026-07-23 21:15:11 +03:00
parent 8252d370a2
commit 9fb0956dcf
7 changed files with 37 additions and 31 deletions

View File

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