mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
fixed a very stupid bug
This commit is contained in:
@@ -133,7 +133,7 @@ int main(void){
|
||||
#endif
|
||||
cmd_parser(txt, 0);
|
||||
}
|
||||
if(lastTprint - Tms > 249){ // run `sendbuf` each 250ms
|
||||
if(Tms - lastTprint > 249){ // run `sendbuf` each 250ms
|
||||
sendbuf();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user