mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Common: support QURT
This commit is contained in:
parent
4e8f1e6092
commit
3a6024e8ab
@ -112,10 +112,10 @@ void *_malloc_r(_reent *x, size_t size)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif CONFIG_HAL_BOARD != HAL_BOARD_CHIBIOS
|
#elif CONFIG_HAL_BOARD != HAL_BOARD_CHIBIOS && CONFIG_HAL_BOARD != HAL_BOARD_QURT
|
||||||
/*
|
/*
|
||||||
wrapper around malloc to ensure all memory is initialised as zero
|
wrapper around malloc to ensure all memory is initialised as zero
|
||||||
ChibiOS has its own wrapper
|
ChibiOS and QURT have their own wrappers
|
||||||
*/
|
*/
|
||||||
extern "C" {
|
extern "C" {
|
||||||
void *__wrap_malloc(size_t size);
|
void *__wrap_malloc(size_t size);
|
||||||
|
Loading…
Reference in New Issue
Block a user