![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Minor changes to support ADMW FWv1.17.75
Diff: src/mbed/admw_spi.cpp
- Revision:
- 62:a5b88f433406
- Parent:
- 60:363fffe5bd22
diff -r 0f16a2e3b58b -r a5b88f433406 src/mbed/admw_spi.cpp --- 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) {