mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
tests/drivers/w5500: fix NDEBUG compilation problems
This commit is contained in:
parent
a4bcd624d3
commit
1de7e56493
@ -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 "w5500.h"
|
||||
#include "w5500_params.h"
|
||||
|
||||
@ -41,7 +41,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