mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c

Dependents:   Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay

Fork of mbed-dev by mbed official

Revision:
176:447f873cad2f
Parent:
168:9672193075cf
--- a/targets/TARGET_STM/TARGET_STM32L4/analogout_device.c	Wed Oct 11 12:45:49 2017 +0100
+++ b/targets/TARGET_STM/TARGET_STM32L4/analogout_device.c	Wed Oct 25 14:53:38 2017 +0100
@@ -75,6 +75,8 @@
 
     // Configure DAC
     obj->handle.Instance = DAC;
+    obj->handle.State = HAL_DAC_STATE_RESET;
+
     if (HAL_DAC_Init(&obj->handle) != HAL_OK ) {
         error("HAL_DAC_Init failed");
     }