Skip to content

Commit

Permalink
boards: fixed board ap-h743v2 ADC_BATTERY_CURRENT_CHANNEL issue, the …
Browse files Browse the repository at this point in the history
…correct channel is 8.
  • Loading branch information
TompsonTan committed Oct 22, 2024
1 parent 4d4c5ef commit a51dd9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/x-mav/ap-h743v2/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
/* Define GPIO pins used as ADC N.B. Channel numbers must match below */
/* Define Channel numbers must match above GPIO pin IN(n)*/
#define ADC_BATTERY_VOLTAGE_CHANNEL ADC12_CH(4)
#define ADC_BATTERY_CURRENT_CHANNEL ADC12_CH(5)
#define ADC_BATTERY_CURRENT_CHANNEL ADC12_CH(8)

#define ADC_CHANNELS \
((1 << ADC_BATTERY_VOLTAGE_CHANNEL) | \
Expand Down

0 comments on commit a51dd9b

Please sign in to comment.