1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

tests/drivers/stm32_eth: fix NDEBUG compilation problems

This commit is contained in:
Gunar Schorcht 2025-08-07 14:05:24 +02:00
parent 2256552c1d
commit e6f2014e6d

View File

@ -21,8 +21,8 @@
#include <stdio.h>
#include "shell.h"
#include "assert.h"
#include "stm32_eth.h"
#include "test_utils/expect.h"
#include "test_utils/netdev_eth_minimal.h"
static netdev_t stm32_eth;
@ -37,7 +37,7 @@ int netdev_eth_minimal_init_devs(netdev_event_cb_t cb) {
/* initialize the device driver */
int res = stm32_eth.driver->init(&stm32_eth);
assert(!res);
expect(!res);
return 0;
}