mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 03:44:30 +03:00
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:
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user