AP_HAL_ChibiOS: fix unused var compile error
This commit is contained in:
parent
6d3c5e7a61
commit
9698291920
@ -384,6 +384,7 @@ void *malloc_eth_safe(size_t size)
|
||||
#if defined(STM32H7)
|
||||
return malloc_flags(size, MEM_REGION_FLAG_ETH_SAFE);
|
||||
#else
|
||||
(void)size;
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user