1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Merge pull request #2760 from mikeller/reworked_altitude_estimation

Reworked altitude estimation. Made it work when ACC is disabled.
This commit is contained in:
Michael Keller 2017-04-10 13:00:16 +12:00 committed by GitHub
commit ce8c5fbd79
21 changed files with 127 additions and 136 deletions

View file

@ -83,7 +83,7 @@ extern uint8_t __config_end;
#include "fc/runtime_config.h"
#include "fc/fc_msp.h"
#include "flight/altitudehold.h"
#include "flight/altitude.h"
#include "flight/failsafe.h"
#include "flight/imu.h"
#include "flight/mixer.h"
@ -326,7 +326,8 @@ static const char * const lookupTableDebug[DEBUG_COUNT] = {
"SCHEDULER",
"STACK",
"ESC_SENSOR_RPM",
"ESC_SENSOR_TMP"
"ESC_SENSOR_TMP",
"ALTITUDE"
};
#ifdef OSD