mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-09 22:38:54 +00:00
[refactor][examples/adc] use gpio12 for adc channel4 default
This commit is contained in:
parent
89c4df772e
commit
9f2e63e06f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
#include "hal_adc.h"
|
||||
#include "hal_gpio.h"
|
||||
|
||||
adc_channel_t posChList[] = { ADC_CHANNEL3 };
|
||||
adc_channel_t posChList[] = { ADC_CHANNEL4 };
|
||||
adc_channel_t negChList[] = { ADC_CHANNEL_GND };
|
||||
|
||||
void adc_irq_callback(struct device *dev, void *args, uint32_t size, uint32_t state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue