1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 17:55:30 +03:00

Fixed review

This commit is contained in:
Filipp Bakanov 2022-01-28 21:01:11 +03:00
parent bbc46d9cad
commit e19469c0ba
No known key found for this signature in database
GPG key ID: A8B7CC1737CDF1D2
2 changed files with 5 additions and 5 deletions

View file

@ -1718,7 +1718,7 @@ const clivalue_t valueTable[] = {
// PG_POSITION // PG_POSITION
{ "position_alt_source", VAR_INT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_POSITION_ALT_SOURCE }, PG_POSITION, offsetof(positionConfig_t, altSource) }, { "position_alt_source", VAR_INT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_POSITION_ALT_SOURCE }, PG_POSITION, offsetof(positionConfig_t, altSource) },
{ "position_alt_num_sats_gps_use", VAR_INT8 | MASTER_VALUE, .config.minmaxUnsigned = { 4, 50 }, PG_POSITION, offsetof(positionConfig_t, altNumSatsGpsUse) }, { "position_alt_num_gps_sats", VAR_INT8 | MASTER_VALUE, .config.minmaxUnsigned = { 4, 50 }, PG_POSITION, offsetof(positionConfig_t, altNumSatsGpsUse) },
{ "position_alt_num_baro_fallback", VAR_INT8 | MASTER_VALUE, .config.minmaxUnsigned = { 4, 50 }, PG_POSITION, offsetof(positionConfig_t, altNumSatsBaroFallback) }, { "position_alt_num_baro_fallback", VAR_INT8 | MASTER_VALUE, .config.minmaxUnsigned = { 4, 50 }, PG_POSITION, offsetof(positionConfig_t, altNumSatsBaroFallback) },
// PG_MODE_ACTIVATION_CONFIG // PG_MODE_ACTIVATION_CONFIG
#if defined(USE_CUSTOM_BOX_NAMES) #if defined(USE_CUSTOM_BOX_NAMES)

View file

@ -106,7 +106,7 @@ void calculateEstimatedAltitude(timeUs_t currentTimeUs)
int32_t baroAlt = 0; int32_t baroAlt = 0;
int32_t gpsAlt = 0; int32_t gpsAlt = 0;
uint16_t gpsNumSat = 0; uint8_t gpsNumSat = 0;
#if defined(USE_GPS) && defined(USE_VARIO) #if defined(USE_GPS) && defined(USE_VARIO)
int16_t gpsVertSpeed = 0; int16_t gpsVertSpeed = 0;