Fawwaz Nadzmy / mbed-STM

Fork of mbed-dev by mbed official

Revision:
152:9a67f0b066fc
Parent:
149:156823d33999
--- a/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/pinmap.c	Thu Nov 24 17:03:03 2016 +0000
+++ b/targets/TARGET_Freescale/TARGET_KSDK2_MCUS/api/pinmap.c	Thu Dec 15 11:48:27 2016 +0000
@@ -21,7 +21,8 @@
 /* Array of PORT peripheral base address. */
 static PORT_Type *const port_addrs[] = PORT_BASE_PTRS;
 
-void pin_function(PinName pin, int function) {
+void pin_function(PinName pin, int function)
+{
     MBED_ASSERT(pin != (PinName)NC);
     clock_ip_name_t port_clocks[] = PORT_CLOCKS;
 
@@ -30,7 +31,8 @@
     PORT_SetPinMux(port_addrs[pin >> GPIO_PORT_SHIFT], pin & 0xFF, (port_mux_t)function);
 }
 
-void pin_mode(PinName pin, PinMode mode) {
+void pin_mode(PinName pin, PinMode mode)
+{
     MBED_ASSERT(pin != (PinName)NC);
     uint32_t instance = pin >> GPIO_PORT_SHIFT;
     uint32_t pinName = pin & 0xFF;