Mbed FW update

Revision:
23:bb685f35b08b
Parent:
5:0728bde67bdb
Child:
32:52445bef314d
--- a/src/mbed/admw_log.cpp	Thu Sep 26 05:56:58 2019 +0000
+++ b/src/mbed/admw_log.cpp	Thu Sep 26 06:15:39 2019 +0000
@@ -63,9 +63,8 @@
 
     gpUartDevice = new Serial((PinName)pConfig->txPin,
                               (PinName)pConfig->rxPin,
-                               pConfig->baudRate);
-    if (!gpUartDevice)
-    {
+                              pConfig->baudRate);
+    if (!gpUartDevice) {
         ADMW_LOG_ERROR("Failed to allocate memory for Log UART context");
         return ADMW_NO_MEM;
     }
@@ -78,8 +77,7 @@
  */
 void admw_LogClose(void)
 {
-    if (gpUartDevice)
-    {
+    if (gpUartDevice) {
         delete gpUartDevice;
         gpUartDevice = 0;
     }