Skip to content

Commit

Permalink
hkust_nxt-dual: fix ADC_BATTERY_CURRENT channel mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Peize-Liu authored and dagar committed Nov 20, 2024
1 parent 3bce698 commit 129c0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/hkust/nxt-dual/src/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,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 129c0f1

Please sign in to comment.