fixed drive strength

Dependents:   capstone_i2c

Fork of mbed-dev by mbed official

Revision:
153:fa9ff456f731
Parent:
150:02e0a0aed4ec
Child:
160:d5399cc887bb
--- a/targets/TARGET_STM/TARGET_STM32F0/analogin_api.c	Thu Dec 15 11:48:27 2016 +0000
+++ b/targets/TARGET_STM/TARGET_STM32F0/analogin_api.c	Tue Dec 20 17:27:56 2016 +0000
@@ -71,7 +71,7 @@
         AdcHandle.Init.ClockPrescaler        = ADC_CLOCK_SYNC_PCLK_DIV4;
         AdcHandle.Init.Resolution            = ADC_RESOLUTION12b;
         AdcHandle.Init.DataAlign             = ADC_DATAALIGN_RIGHT;
-        AdcHandle.Init.ScanConvMode          = DISABLE;
+        AdcHandle.Init.ScanConvMode          = ADC_SCAN_DIRECTION_FORWARD;
         AdcHandle.Init.EOCSelection          = EOC_SINGLE_CONV;
         AdcHandle.Init.LowPowerAutoWait      = DISABLE;
         AdcHandle.Init.LowPowerAutoPowerOff  = DISABLE;