AP_HAL_ChibiOS: fix unused var compile error

This commit is contained in:
Tom Pittenger 2023-07-28 14:30:15 -07:00 committed by Andrew Tridgell
parent 6d3c5e7a61
commit 9698291920
1 changed files with 1 additions and 0 deletions

View File

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