add debug flag, remove one bug (echo to one interface in another's interrupt); still didn't found why there's a trash of output in input buffer of interface 0

This commit is contained in:
Edward Emelianov
2025-08-24 23:41:10 +03:00
parent 233eed8b12
commit 962d181e89
7 changed files with 53 additions and 18 deletions

View File

@@ -38,6 +38,7 @@ typedef struct{
uint8_t CPHA : 1;
uint8_t BR : 3;
uint8_t monit: 1; // auto monitoring of encoder each `monittime` milliseconds
uint8_t debug: 1; // debug output of read data
} flags_t;
/*