mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
change to usb ringbuffer; still have veird bug using USART
This commit is contained in:
@@ -32,12 +32,13 @@
|
||||
#endif
|
||||
|
||||
// timeout for cycles
|
||||
#define WAITFOR (72000000)
|
||||
#define WAITFOR (7200000)
|
||||
|
||||
typedef enum{
|
||||
ALL_OK,
|
||||
LINE_BUSY,
|
||||
STR_TOO_LONG
|
||||
STR_TOO_LONG,
|
||||
NO_RECEIVER
|
||||
} TXstatus;
|
||||
|
||||
#define usartrx() (linerdy)
|
||||
|
||||
Reference in New Issue
Block a user