Merge pull request #9073 from vervaekejonathan/master

W7500x target ADC 6 and 7 not implemented
pull/9109/head
Cruz Monrreal 2018-12-12 18:46:21 -06:00 committed by GitHub
commit 27e1bc30dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,12 @@ static inline uint16_t adc_read(analogin_t *obj)
case PC_10: case PC_10:
adc_ch = ADC_CH5; adc_ch = ADC_CH5;
break; break;
case PC_09:
adc_ch = ADC_CH6;
break;
case PC_08:
adc_ch = ADC_CH7;
break;
default: default:
return 0; return 0;
} }