mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
try to fix build error
Co-Authored-By: Petr Ledvina <2318015+ledvinap@users.noreply.github.com>
This commit is contained in:
parent
fd5e34a4d4
commit
f926d26021
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ void autopilotInit(void)
|
|||
positionPidCoeffs.Kd = cfg->position_D * POSITION_D_SCALE;
|
||||
positionPidCoeffs.Kf = cfg->position_A * POSITION_A_SCALE; // Kf used for acceleration
|
||||
// initialise filters with approximate filter gains; location isn't used at this point.
|
||||
resetPositionControl(&gpsSol.llh, 100);
|
||||
const gpsLocation_t initLocation = gpsSol.llh;
|
||||
resetPositionControl(&initLocation, 100);
|
||||
}
|
||||
|
||||
void resetAltitudeControl (void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue