1
0
mirror of https://github.com/oliverschmidt/contiki.git synced 2025-01-12 10:30:09 +00:00

Merge pull request from malvira/bump-libmc1322x-squash

disable pad keeper when using ADC pin; otherwise you'll see a 20k input
This commit is contained in:
Adam Dunkels 2012-11-30 08:50:21 -08:00
commit a25fcc53e8

@ -76,6 +76,7 @@ void adc_service(void) {
ADC->SEQ_1bits.CH##x = 1; \
GPIO->FUNC_SEL.ADC##x = 1; \
GPIO->PAD_DIR.ADC##x = 0; \
GPIO->PAD_KEEP.ADC##x = 0; \
GPIO->PAD_PU_EN.ADC##x = 0; \
}} while (0)