mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/atwinc15x0: fix DEBUG() macro
This commit is contained in:
parent
71bfc3a1ca
commit
14121a5298
@ -252,13 +252,13 @@ static int _atwinc15x0_send(netdev_t *netdev, const iolist_t *iolist)
|
||||
assert(iolist);
|
||||
|
||||
if (!dev->connected) {
|
||||
DEBUG("%s WiFi is still not connected to AP, cannot send", __func__);
|
||||
DEBUG("%s WiFi is still not connected to AP, cannot send\n", __func__);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/* send wakes from standby but not from sleep */
|
||||
if (dev->state == NETOPT_STATE_SLEEP) {
|
||||
DEBUG("%s WiFi is in SLEEP state, cannot send", __func__);
|
||||
DEBUG("%s WiFi is in SLEEP state, cannot send\n", __func__);
|
||||
return -ENODEV;
|
||||
}
|
||||
if (dev->state == NETOPT_STATE_STANDBY) {
|
||||
|
Loading…
Reference in New Issue
Block a user