mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Use double for storing time instead of float
Float precision may be not enough after some time of operating
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#define WIFI_ENABLED 1
|
||||
|
||||
float t = NAN;
|
||||
double t = NAN;
|
||||
float dt;
|
||||
float motors[4];
|
||||
int16_t channels[16]; // raw rc channels
|
||||
|
Reference in New Issue
Block a user