Skip to content

Commit 27e1bc3

Browse files
author
Cruz Monrreal
authored
Merge pull request #9073 from vervaekejonathan/master
W7500x target ADC 6 and 7 not implemented
2 parents f196942 + 70ab757 commit 27e1bc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

targets/TARGET_WIZNET/TARGET_W7500x/analogin_api.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ static inline uint16_t adc_read(analogin_t *obj)
8282
case PC_10:
8383
adc_ch = ADC_CH5;
8484
break;
85+
case PC_09:
86+
adc_ch = ADC_CH6;
87+
break;
88+
case PC_08:
89+
adc_ch = ADC_CH7;
90+
break;
8591
default:
8692
return 0;
8793
}

0 commit comments

Comments
 (0)