mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: fix state machine to compile after master rebase
Fix automatic rebase error with cellulardevice.cpppull/10324/head
parent
2470a3611c
commit
8234f00506
|
|
@ -117,10 +117,6 @@ nsapi_error_t CellularDevice::attach_to_network()
|
|||
|
||||
nsapi_error_t CellularDevice::create_state_machine()
|
||||
{
|
||||
_nw = open_network(_fh);
|
||||
// Attach to network so we can get update status from the network
|
||||
_nw->attach(callback(this, &CellularDevice::stm_callback));
|
||||
|
||||
nsapi_error_t err = NSAPI_ERROR_OK;
|
||||
if (!_state_machine) {
|
||||
_nw = open_network(_fh);
|
||||
|
|
|
|||
|
|
@ -406,7 +406,7 @@ void CellularStateMachine::state_sim_pin()
|
|||
|
||||
void CellularStateMachine::state_signal_quality()
|
||||
{
|
||||
_cb_data.error = _network->get_signal_quality(_signal_quality.rssi, &_signal_quality.ber);
|
||||
_cb_data.error = _network.get_signal_quality(_signal_quality.rssi, &_signal_quality.ber);
|
||||
|
||||
if (_cb_data.error != NSAPI_ERROR_OK) {
|
||||
retry_state_or_fail();
|
||||
|
|
|
|||
Loading…
Reference in New Issue