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;
|
||||||
}
|
}
|
||||||
|
@ -123,8 +123,8 @@ nsapi_error_t WisunInterface::configure()
|
||||||
}
|
}
|
||||||
|
|
||||||
nsapi_error_t Nanostack::WisunInterface::bringup(bool dhcp, const char *ip,
|
nsapi_error_t Nanostack::WisunInterface::bringup(bool dhcp, const char *ip,
|
||||||
const char *netmask, const char *gw,
|
const char *netmask, const char *gw,
|
||||||
nsapi_ip_stack_t stack, bool blocking)
|
nsapi_ip_stack_t stack, bool blocking)
|
||||||
{
|
{
|
||||||
nanostack_lock();
|
nanostack_lock();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue