mirror of https://github.com/ArduPilot/ardupilot
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)
|
#if defined(STM32H7)
|
||||||
return malloc_flags(size, MEM_REGION_FLAG_ETH_SAFE);
|
return malloc_flags(size, MEM_REGION_FLAG_ETH_SAFE);
|
||||||
#else
|
#else
|
||||||
|
(void)size;
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue