Minor changes to support ADMW FWv1.17.75

Revision:
62:a5b88f433406
Parent:
60:363fffe5bd22
--- a/src/mbed/admw_spi.cpp	Tue Mar 31 04:50:37 2020 +0000
+++ b/src/mbed/admw_spi.cpp	Wed Apr 08 10:05:08 2020 +0000
@@ -115,9 +115,10 @@
                      (char*)(pRxData), pRxData ? nLength : 0);
     
     if ((rc < 0) || !bCsHold)
-        *(pCtx->_cs) = 1;
-    
-       *(pCtx->_wakeup) = 0;
+    {
+       *(pCtx->_cs) = 1;
+    }
+    *(pCtx->_wakeup) = 0;
        
     if (rc < 0)
     {