nuttx/arch/arm
Juha Niskanen 1ce75cc7c6 arch/arm/src/stm32/stm32_adc.c: do not allow negative ref count
When HAVE_HSI_CONTROL, adc_reset_hsi_disable() calls adc_reset()
followed by adc_shutdown() and this combination is called before
adc_setup() by upper level ADC driver. Without this patch,
priv->initialized wraps from 0 to 255 in this case.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-03 16:25:03 -03:00
..
include Added Support for more TI Tiva Microcontrollers: 2020-11-03 08:07:24 -08:00
src arch/arm/src/stm32/stm32_adc.c: do not allow negative ref count 2020-11-03 16:25:03 -03:00
Kconfig arch: Add custom arch chip build support 2020-10-20 14:48:16 +08:00