mirror of https://github.com/ARMmbed/mbed-os.git
resolved astyle - coding format.
parent
0387254ebd
commit
466a57ada4
|
@ -56,7 +56,7 @@ Nanostack::WisunInterface *WisunInterface::get_interface() const
|
||||||
nsapi_error_t WisunInterface::do_initialize()
|
nsapi_error_t WisunInterface::do_initialize()
|
||||||
{
|
{
|
||||||
if (!_interface) {
|
if (!_interface) {
|
||||||
_interface = new(std::nothrow) Nanostack::WisunInterface(*_phy);
|
_interface = new (std::nothrow) Nanostack::WisunInterface(*_phy);
|
||||||
if (!_interface) {
|
if (!_interface) {
|
||||||
return NSAPI_ERROR_NO_MEMORY;
|
return NSAPI_ERROR_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue