1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Lock altitude task to 100Hz

+ fix baro calibration
+ baro refactoring
This commit is contained in:
KarateBrot 2022-10-20 16:01:24 +02:00
parent c5468981e6
commit f17a2af8c3
10 changed files with 54 additions and 86 deletions

View file

@ -42,7 +42,7 @@ extern "C" {
uint8_t batteryCellCount = 3;
float rcCommand[4] = {0, 0, 0, 0};
int16_t telemTemperature1 = 0;
baro_t baro = { .baroTemperature = 50 };
baro_t baro = { .temperature = 50 };
telemetryConfig_t telemetryConfig_System;
timeUs_t rxFrameTimeUs(void) { return 0; }
}

View file

@ -41,7 +41,7 @@ extern "C" {
uint8_t batteryCellCount = 3;
float rcCommand[4] = {0, 0, 0, 0};
int16_t telemTemperature1 = 0;
baro_t baro = { .baroTemperature = 50 };
baro_t baro = { .temperature = 50 };
telemetryConfig_t telemetryConfig_System;
timeUs_t rxFrameTimeUs(void) { return 0; }
}