Cellular: Semaphore wasn't released in easycellular release build.

pull/7195/head
Teppo Järvelin 2018-06-12 16:04:39 +03:00
parent ed9a1f1327
commit 7e34349628
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ bool EasyCellularConnection::cellular_status(int state, int next_state)
if (_target_state == state) {
tr_info("Target state reached: %s", _cellularConnectionFSM->get_state_string(_target_state));
MBED_ASSERT(_cellularSemaphore.release() == osOK);
(void)_cellularSemaphore.release();
return false; // return false -> state machine is halted
}
return true;