Skip to content

Commit 58b725b

Browse files
author
Cruz Monrreal
authored
Merge pull request #7359 from u-blox/sim_pin_init
Cellular: EasyCellularConnection::connect doesn't have any check that "CellularConnectionFSM" object is created or not
2 parents 72684e3 + 1e150c9 commit 58b725b

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
@@ -156,7 +156,7 @@ nsapi_error_t EasyCellularConnection::connect(const char *sim_pin, const char *a
156156
}
157157

158158
if (sim_pin) {
159-
_cellularConnectionFSM->set_sim_pin(sim_pin);
159+
this->set_sim_pin(sim_pin);
160160
}
161161

162162
return connect();

0 commit comments

Comments
 (0)