From faa26f27e2c3d6476595d404944c6e74ea5ea765 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 11 Jan 2025 18:03:11 +0000 Subject: [PATCH] AP_HAL_ChibiOS: only create storage backups on fatfs --- libraries/AP_HAL_ChibiOS/Storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/Storage.cpp b/libraries/AP_HAL_ChibiOS/Storage.cpp index 53d410c5cd75d..8244eaf22bfcf 100644 --- a/libraries/AP_HAL_ChibiOS/Storage.cpp +++ b/libraries/AP_HAL_ChibiOS/Storage.cpp @@ -127,7 +127,7 @@ void Storage::_storage_open(void) */ void Storage::_save_backup(void) { -#if HAL_OS_POSIX_IO +#if HAL_USE_FATFS // allow for fallback to microSD or littlefs flash based storage // create the backup directory if need be int ret;