From 1c4bf3d80415de48e2c8d7772f854bada399cf91 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Jun 2018 11:26:40 +1000 Subject: [PATCH] HAL_ChibiOS: fixed build warning --- libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.h b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.h index 8ccc4c18e4..0ec2cab58d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/stm32_util.h @@ -37,6 +37,9 @@ void *malloc_dma(size_t size); // UTC system clock handling void stm32_set_utc_usec(uint64_t time_utc_usec); uint64_t stm32_get_utc_usec(void); + +// hook for FAT timestamps +uint32_t get_fattime(void); #ifdef __cplusplus }