[refactor][examples/adc] use gpio12 for adc channel4 default

This commit is contained in:
jzlv 2021-09-28 11:34:18 +08:00
parent 89c4df772e
commit 9f2e63e06f

View file

@ -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)