mirror of https://github.com/ARMmbed/mbed-os.git
Follow Mbed OS coding style
parent
f07030255f
commit
913ac8c2b2
|
|
@ -61,8 +61,7 @@ nsapi_error_t EMACInterface::connect()
|
|||
}
|
||||
}
|
||||
|
||||
if (err == NSAPI_ERROR_UNSUPPORTED)
|
||||
{
|
||||
if (err == NSAPI_ERROR_UNSUPPORTED) {
|
||||
err = _stack.add_ethernet_interface(_emac, true, &_interface);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue