Skip to content

Commit 7e34349

Browse files
author
Teppo Järvelin
committed
Cellular: Semaphore wasn't released in easycellular release build.
1 parent ed9a1f1 commit 7e34349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/cellular/easy_cellular/EasyCellularConnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bool EasyCellularConnection::cellular_status(int state, int next_state)
4242

4343
if (_target_state == state) {
4444
tr_info("Target state reached: %s", _cellularConnectionFSM->get_state_string(_target_state));
45-
MBED_ASSERT(_cellularSemaphore.release() == osOK);
45+
(void)_cellularSemaphore.release();
4646
return false; // return false -> state machine is halted
4747
}
4848
return true;

0 commit comments

Comments
 (0)