mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
initializing static var in gps
This commit is contained in:
parent
f83133fa74
commit
06554338d1
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ static void reset_PID(PID *pid)
|
||||||
|
|
||||||
static float dTnav; // Delta Time in milliseconds for navigation computations, updated with every good GPS read
|
static float dTnav; // Delta Time in milliseconds for navigation computations, updated with every good GPS read
|
||||||
static int16_t actual_speed[2] = { 0, 0 };
|
static int16_t actual_speed[2] = { 0, 0 };
|
||||||
static float GPS_scaleLonDown; // this is used to offset the shrinking longitude as we go towards the poles
|
static float GPS_scaleLonDown = 1.0f; // this is used to offset the shrinking longitude as we go towards the poles
|
||||||
|
|
||||||
// The difference between the desired rate of travel and the actual rate of travel
|
// The difference between the desired rate of travel and the actual rate of travel
|
||||||
// updated after GPS read - 5-10hz
|
// updated after GPS read - 5-10hz
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue