mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
tests/drivers/encx24j600: fix NDEBUG compilation problems
This commit is contained in:
parent
4a9b896d63
commit
28264056e2
@ -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 "encx24j600.h"
|
||||
#include "encx24j600_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