Revert t variable type to float instead of double

For the sake of simplicity and consistency.
This commit is contained in:
Oleg Kalachev
2025-10-18 12:28:01 +03:00
parent ebac78dc0f
commit e50a9d5fea
11 changed files with 16 additions and 19 deletions

View File

@@ -14,7 +14,7 @@
String mavlinkPrintBuffer;
extern double controlTime;
extern float controlTime;
extern float controlRoll, controlPitch, controlThrottle, controlYaw, controlMode;
void processMavlink() {
@@ -25,8 +25,8 @@ void processMavlink() {
void sendMavlink() {
sendMavlinkPrint();
static double lastSlow = 0;
static double lastFast = 0;
static float lastSlow = 0;
static float lastFast = 0;
mavlink_message_t msg;
uint32_t time = t * 1000;