mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Merge pull request #4995 from mikeller/fix_use_stragglers
Fixed `USE_` stragglers.
This commit is contained in:
commit
db0f1c4f10
2 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@
|
|||
#define SPI2_MISO_PIN PB14
|
||||
#define SPI2_MOSI_PIN PB15
|
||||
|
||||
#define OSD
|
||||
#define USE_OSD
|
||||
#define USE_MAX7456
|
||||
#define MAX7456_SPI_INSTANCE SPI2
|
||||
#define MAX7456_SPI_CS_PIN PB12
|
||||
|
@ -99,7 +99,7 @@
|
|||
#define VBAT_ADC_PIN PC2
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_NONE
|
||||
#define TRANSPONDER
|
||||
#define USE_TRANSPONDER
|
||||
|
||||
// DEFINE DEFAULT FEATURE
|
||||
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
static uint16_t getTemperature()
|
||||
{
|
||||
uint16_t temperature = gyroGetTemperature() * 10;
|
||||
#if defined(BARO)
|
||||
#if defined(USE_BARO)
|
||||
if (sensors(SENSOR_BARO)) {
|
||||
temperature = (uint16_t) ((baro.baroTemperature + 50) / 10);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue