Skip to content

Commit

Permalink
FIX CONFIG: ESC and NONE for current meters (#12458)
Browse files Browse the repository at this point in the history
  • Loading branch information
blckmn committed Mar 6, 2023
1 parent 9ce8d9c commit 4cb26fe
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/config/AG3XF4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/AG3XF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/GEPRCF722_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/GEPRCF745_BT_HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/JBF7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/NOX/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/OMNIBUSF4NANOV7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/OMNIBUSF7NANOV7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/TRANSTECF411HD/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4cb26fe

Please sign in to comment.