mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Fixed review
This commit is contained in:
parent
bbc46d9cad
commit
e19469c0ba
2 changed files with 5 additions and 5 deletions
|
@ -55,9 +55,9 @@ typedef enum {
|
|||
PG_REGISTER_WITH_RESET_TEMPLATE(positionConfig_t, positionConfig, PG_POSITION, 2);
|
||||
|
||||
PG_RESET_TEMPLATE(positionConfig_t, positionConfig,
|
||||
.altSource = DEFAULT,
|
||||
.altNumSatsGpsUse = 10,
|
||||
.altNumSatsBaroFallback = 7,
|
||||
.altSource = DEFAULT,
|
||||
.altNumSatsGpsUse = 10,
|
||||
.altNumSatsBaroFallback = 7,
|
||||
);
|
||||
|
||||
static int32_t estimatedAltitudeCm = 0; // in cm
|
||||
|
@ -106,7 +106,7 @@ void calculateEstimatedAltitude(timeUs_t currentTimeUs)
|
|||
|
||||
int32_t baroAlt = 0;
|
||||
int32_t gpsAlt = 0;
|
||||
uint16_t gpsNumSat = 0;
|
||||
uint8_t gpsNumSat = 0;
|
||||
|
||||
#if defined(USE_GPS) && defined(USE_VARIO)
|
||||
int16_t gpsVertSpeed = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue