MaJerle / stm32fxxx-hal-libraries

Libraries for STM32F4xx and STM32F7xx built on HAL drivers from ST
MIT License
760 stars 436 forks source link

Added HAL_ADC_STATE_READY to checking conversion of a regular channel… #28

Open jinhyuk-im opened 6 years ago

jinhyuk-im commented 6 years ago

After called HAL_ADC_PollForConversion(), ADC state can have both HAL_ADC_STATE_REG_EOC and HAL_ADC_STATE_READY like below situation: https://github.com/MaJerle/stm32fxxx_hal_libraries/blob/b295f87c649cccf0c27bcd6f8f3695666fdde571/00-HAL_DRIVERS/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.c#L634-L655 So, Added HAL_ADC_STATE_READY to the code of checking conversion of a regular channel finished.

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.

dgy924143558 commented 1 year ago

Thank you!!

EmbeddedLife615 commented 1 year ago

邮件已收到,我会尽快回复的!