Skip to content

Commit

Permalink
boards: unify comments for voltage deviders
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR committed Mar 27, 2024
1 parent 4c5f084 commit 6e86862
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
3 changes: 1 addition & 2 deletions boards/diatone/mamba-f405-mk2/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@
#define ADC_BATTERY_CURRENT_CHANNEL 13
#define ADC_RC_RSSI_CHANNEL 12

/* Define Battery 1 Voltage Divider and A per V
*/
/* Define Battery Voltage Divider and A per V */
#define BOARD_BATTERY1_V_DIV (11.12f)
#define BOARD_BATTERY1_A_PER_V (31.f)

Expand Down
4 changes: 1 addition & 3 deletions boards/matek/h743-mini/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@
(1 << ADC_RSSI_IN_CHANNEL))


/* Define Battery 1 Voltage Divider and A per V
*/

/* Define Battery Voltage Divider and A per V */
#define BOARD_BATTERY1_V_DIV (11.0f) /* measured with the provided PM board */
#define BOARD_BATTERY1_A_PER_V (40.0f)
#define BOARD_BATTERY2_V_DIV (11.0f) /* measured with the provided PM board */
Expand Down
4 changes: 1 addition & 3 deletions boards/matek/h743/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@
(1 << ADC_RSSI_IN_CHANNEL))


/* Define Battery 1 Voltage Divider and A per V
*/

/* Define Battery Voltage Divider and A per V */
#define BOARD_BATTERY1_V_DIV (11.0f) /* measured with the provided PM board */
#define BOARD_BATTERY1_A_PER_V (40.0f)
#define BOARD_BATTERY2_V_DIV (11.0f) /* measured with the provided PM board */
Expand Down
2 changes: 1 addition & 1 deletion boards/sky-drones/smartap-airlink/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
*/
#define DIRECT_PWM_OUTPUT_CHANNELS 8

/* Define Battery 1 g Divider and A per V. */
/* Define Battery Voltage Divider and A per V */
#define BOARD_BATTERY_V_DIV (13.653333333f)
#define BOARD_BATTERY_A_PER_V (36.367515152f)

Expand Down

0 comments on commit 6e86862

Please sign in to comment.