mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Revision:
548:1abac31e188e
Parent:
527:74d34ce5a2b5
Child:
608:14dd4108b341
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/mbed_overrides.c	Fri May 22 09:45:08 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/mbed_overrides.c	Fri May 22 10:45:46 2015 +0100
@@ -50,11 +50,11 @@
     CMU_ClockSelectSet(cmuClock_LFA, LFXO);
 #endif
 #ifdef CMU_LFBCLKSEL_REG
-	  /* cmuClock_LFB (to date) only has LEUART peripherals.
-		*  Do NOT set it up here, as LEUARTs might have been initialized
-		*	 before this code is called. (Limitation of the override mechanism of ARMCC) 
-		*/
-		//TODO: Look for a more elegant fix.
+    /* cmuClock_LFB (to date) only has LEUART peripherals.
+    *  Do NOT set it up here, as LEUARTs might have been initialized
+    *	 before this code is called. (Limitation of the override mechanism of ARMCC)
+    */
+    //TODO: Look for a more elegant fix.
     //CMU_ClockSelectSet(cmuClock_LFB, LFXO);
 #endif
 #ifdef CMU_LFECLKSEL_REG
@@ -92,7 +92,8 @@
     gpio_init_out_ex(&bc_enable, EFM_BC_EN, 1);
 }
 
-void check_usart_clock(USART_TypeDef* usart, uint32_t clockmask) {
+void check_usart_clock(USART_TypeDef* usart, uint32_t clockmask)
+{
     uint32_t freq = 14000000, baudrate;
     USART_OVS_TypeDef ovs;