mbed library sources. Supersedes mbed-src. Edited target satm32f446 for user USART3 pins

Dependents:   IGLOO_board

Fork of mbed-dev by mbed official

Revision:
184:08ed48f1de7f
Parent:
149:156823d33999
--- a/drivers/Timeout.cpp	Tue Mar 20 17:01:51 2018 +0000
+++ b/drivers/Timeout.cpp	Thu Apr 19 17:12:19 2018 +0100
@@ -18,7 +18,9 @@
 namespace mbed {
 
 void Timeout::handler() {
-    _function.call();
+    Callback<void()> local = _function;
+    detach();
+    local.call();
 }
 
 } // namespace mbed