mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
FIX CONFIG: ESC and NONE for current meters (#12458)
This commit is contained in:
parent
9ce8d9c8e5
commit
4cb26fe13a
9 changed files with 9 additions and 9 deletions
|
@ -105,7 +105,7 @@
|
|||
#define BARO_SPI_INSTANCE SPI2
|
||||
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
|
||||
#define ENABLE_DSHOT_DMAR DSHOT_DMAR_ON
|
||||
//TODO #define CURRENT_METER ESC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ESC
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define BEEPER_INVERTED
|
||||
#define SYSTEM_HSE_MHZ 8
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
//TODO #define USE_UNSYNCED_PWM OFF
|
||||
//TODO #define MOTOR_PWM_PROTOCOL ONESHOT125
|
||||
//TODO #define MOTOR_PWM_RATE 480
|
||||
//TODO #define CURRENT_METER ESC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ESC
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define BEEPER_INVERTED
|
||||
#define MAX7456_SPI_INSTANCE SPI3
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
#define ENABLE_DSHOT_DMAR DSHOT_DMAR_ON
|
||||
//TODO #define DSHOT_BIDIR ON
|
||||
//TODO #define MOTOR_PWM_PROTOCOL DSHOT600
|
||||
//TODO #define CURRENT_METER ESC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ESC
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define DEFAULT_CURRENT_METER_SCALE 100
|
||||
#define BEEPER_INVERTED
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
|
||||
//TODO #define BLACKBOX_SAMPLE_RATE 1/1
|
||||
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
|
||||
//TODO #define CURRENT_METER ESC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ESC
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define DEFAULT_CURRENT_METER_SCALE 100
|
||||
#define BEEPER_INVERTED
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
#define ADC_INSTANCE ADC3
|
||||
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_SDCARD
|
||||
#define ENABLE_DSHOT_DMAR DSHOT_DMAR_ON
|
||||
//TODO #define CURRENT_METER ESC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ESC
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
//TODO #define VBAT_SCALE 110
|
||||
#define DEFAULT_CURRENT_METER_SCALE 100
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
//TODO #define USE_UNSYNCED_PWM OFF
|
||||
//TODO #define MOTOR_PWM_PROTOCOL ONESHOT125
|
||||
//TODO #define MOTOR_PWM_RATE 480
|
||||
//TODO #define CURRENT_METER ESC
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ESC
|
||||
//TODO #define BATTERY_METER ESC
|
||||
#define BEEPER_INVERTED
|
||||
#define SYSTEM_HSE_MHZ 8
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
|
||||
#define ENABLE_DSHOT_DMAR DSHOT_DMAR_ON
|
||||
//TODO #define MOTOR_PWM_PROTOCOL DSHOT600
|
||||
//TODO #define CURRENT_METER NONE
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_NONE
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define DEFAULT_CURRENT_METER_SCALE 179
|
||||
#define BEEPER_INVERTED
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
#define DEFAULT_BLACKBOX_DEVICE BLACKBOX_DEVICE_FLASH
|
||||
#define ENABLE_DSHOT_DMAR DSHOT_DMAR_ON
|
||||
//TODO #define MOTOR_PWM_PROTOCOL DSHOT600
|
||||
//TODO #define CURRENT_METER NONE
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_NONE
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define DEFAULT_CURRENT_METER_SCALE 179
|
||||
#define BEEPER_INVERTED
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
//TODO #define MOTOR_POLES 12
|
||||
//TODO #define ALIGN_BOARD_ROLL 180
|
||||
//TODO #define VBAT_MAX_CELL_VOLTAGE 435
|
||||
//TODO #define CURRENT_METER NONE
|
||||
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_NONE
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
#define BEEPER_INVERTED
|
||||
//TODO #define YAW_MOTORS_REVERSED ON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue