change to usb ringbuffer; still have veird bug using USART

This commit is contained in:
Edward Emelianov
2023-09-29 20:45:48 +03:00
parent 482b612e9f
commit b20e134180
22 changed files with 761 additions and 720 deletions

View File

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