mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-20 20:13:50 +01:00
tests/drivers/ethos: fix NDEBUG compilation problems
This commit is contained in:
parent
f183c38d56
commit
a4bcd624d3
@ -21,9 +21,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "shell.h"
|
||||
#include "test_utils/expect.h"
|
||||
#include "test_utils/netdev_eth_minimal.h"
|
||||
#include "init_dev.h"
|
||||
#include "assert.h"
|
||||
#include "ethos.h"
|
||||
#include "ethos_params.h"
|
||||
|
||||
@ -42,7 +42,7 @@ int netdev_eth_minimal_init_devs(netdev_event_cb_t cb) {
|
||||
|
||||
/* initialize the device driver */
|
||||
int res = device->driver->init(device);
|
||||
assert(!res);
|
||||
expect(!res);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user