mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Fix network interface test for cellular targets
parent
5c79394756
commit
d15bcfe83a
|
@ -36,7 +36,9 @@ nsapi_connection_status_t statuses[status_buffer_size];
|
|||
|
||||
void status_cb(nsapi_event_t event, intptr_t value)
|
||||
{
|
||||
TEST_ASSERT_EQUAL(NSAPI_EVENT_CONNECTION_STATUS_CHANGE, event);
|
||||
if (event != NSAPI_EVENT_CONNECTION_STATUS_CHANGE) {
|
||||
return;
|
||||
}
|
||||
|
||||
statuses[status_write_counter] = static_cast<nsapi_connection_status_t>(value);
|
||||
status_write_counter++;
|
||||
|
|
Loading…
Reference in New Issue