mirror of
https://github.com/okalachev/flix.git
synced 2026-01-11 21:46:55 +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:
@@ -14,7 +14,7 @@ int yawChannel = 3;
|
||||
int armedChannel = 4;
|
||||
int modeChannel = 5;
|
||||
|
||||
float controlsTime; // time of the last controls update
|
||||
double controlsTime; // time of the last controls update
|
||||
float channelNeutral[16] = {NAN}; // first element NAN means not calibrated
|
||||
float channelMax[16];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user