Skip to content

Commit 3e2e6a7

Browse files
authored
Merge pull request #7195 from jarvte/fixing_easycellular_release_version
Cellular: Semaphore wasn't released in easycellular release build.
2 parents 4d8dd59 + 7e34349 commit 3e2e6a7

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)