Use double for storing time instead of float

Float precision may be not enough after some time of operating
This commit is contained in:
Oleg Kalachev
2025-01-12 19:58:36 +03:00
parent d4e04c46cd
commit 70f5186c1b
10 changed files with 16 additions and 14 deletions

View File

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