1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 12:03:52 +01:00

tests/drivers/ethos: fix NDEBUG compilation problems

This commit is contained in:
Gunar Schorcht 2025-08-07 11:48:39 +02:00
parent f183c38d56
commit a4bcd624d3

View File

@ -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;