mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
Merge pull request #4242 from shellixyz/change_previousHeadingError_type
Change previousHeadingError type from float to int32_t
This commit is contained in:
commit
7bdd5967e7
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ bool adjustFixedWingPositionFromRCInput(void)
|
||||||
static void updatePositionHeadingController_FW(timeUs_t currentTimeUs, timeDelta_t deltaMicros)
|
static void updatePositionHeadingController_FW(timeUs_t currentTimeUs, timeDelta_t deltaMicros)
|
||||||
{
|
{
|
||||||
static timeUs_t previousTimeMonitoringUpdate;
|
static timeUs_t previousTimeMonitoringUpdate;
|
||||||
static float previousHeadingError;
|
static int32_t previousHeadingError;
|
||||||
static bool errorIsDecreasing;
|
static bool errorIsDecreasing;
|
||||||
static bool forceTurnDirection = false;
|
static bool forceTurnDirection = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue