mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 03:19:58 +03:00
Update barometer.c
This commit is contained in:
parent
c337d87410
commit
c42715490c
1 changed files with 0 additions and 2 deletions
|
@ -325,8 +325,6 @@ float processBaroTempCorrection(void)
|
||||||
static int16_t baroTemp1 = 0.0f;
|
static int16_t baroTemp1 = 0.0f;
|
||||||
static timeMs_t startTimeMs = 0;
|
static timeMs_t startTimeMs = 0;
|
||||||
|
|
||||||
DEBUG_SET(DEBUG_ALWAYS, 0, correctionFactor * 100);
|
|
||||||
DEBUG_SET(DEBUG_ALWAYS, 1, baro.baroTemperature);
|
|
||||||
if (!ARMING_FLAG(WAS_EVER_ARMED)) {
|
if (!ARMING_FLAG(WAS_EVER_ARMED)) {
|
||||||
static float baroAlt1 = 0.0f;
|
static float baroAlt1 = 0.0f;
|
||||||
static int16_t baroTemp2 = 0.0f;
|
static int16_t baroTemp2 = 0.0f;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue