From 6e86862b6a7d24b35ae1fd284602412e640824f7 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Wed, 27 Mar 2024 17:02:01 +0100 Subject: [PATCH] boards: unify comments for voltage deviders --- boards/diatone/mamba-f405-mk2/src/board_config.h | 3 +-- boards/matek/h743-mini/src/board_config.h | 4 +--- boards/matek/h743/src/board_config.h | 4 +--- boards/sky-drones/smartap-airlink/src/board_config.h | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/boards/diatone/mamba-f405-mk2/src/board_config.h b/boards/diatone/mamba-f405-mk2/src/board_config.h index 7c2b17d84d..3c5f0e9830 100644 --- a/boards/diatone/mamba-f405-mk2/src/board_config.h +++ b/boards/diatone/mamba-f405-mk2/src/board_config.h @@ -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) diff --git a/boards/matek/h743-mini/src/board_config.h b/boards/matek/h743-mini/src/board_config.h index 151d6b59c5..e47444085a 100644 --- a/boards/matek/h743-mini/src/board_config.h +++ b/boards/matek/h743-mini/src/board_config.h @@ -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 */ diff --git a/boards/matek/h743/src/board_config.h b/boards/matek/h743/src/board_config.h index 151d6b59c5..e47444085a 100644 --- a/boards/matek/h743/src/board_config.h +++ b/boards/matek/h743/src/board_config.h @@ -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 */ diff --git a/boards/sky-drones/smartap-airlink/src/board_config.h b/boards/sky-drones/smartap-airlink/src/board_config.h index 5b957e0694..158fece58c 100644 --- a/boards/sky-drones/smartap-airlink/src/board_config.h +++ b/boards/sky-drones/smartap-airlink/src/board_config.h @@ -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)