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:
parent
c5468981e6
commit
f17a2af8c3
10 changed files with 54 additions and 86 deletions
|
@ -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; }
|
||||
}
|
||||
|
|
|
@ -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; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue