From bb8047c026f3bc5cc4fac1d74e6441e1fabcd8af Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 11 Feb 2024 22:52:49 +1100 Subject: [PATCH] AP_Scripting: correct compilation with AP_FILESYSTEM_FORMAT_ENABLED is false Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com> --- libraries/AP_Scripting/generator/description/bindings.desc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Scripting/generator/description/bindings.desc b/libraries/AP_Scripting/generator/description/bindings.desc index 7a2d88e470..299bd2b27e 100644 --- a/libraries/AP_Scripting/generator/description/bindings.desc +++ b/libraries/AP_Scripting/generator/description/bindings.desc @@ -891,7 +891,9 @@ userdata AP_Filesystem::stat_t method is_directory boolean singleton AP_Filesystem rename fs singleton AP_Filesystem method stat boolean string AP_Filesystem::stat_t'Null singleton AP_Filesystem method format boolean +singleton AP_Filesystem method format depends AP_FILESYSTEM_FORMAT_ENABLED singleton AP_Filesystem method get_format_status uint8_t'skip_check +singleton AP_Filesystem method get_format_status depends AP_FILESYSTEM_FORMAT_ENABLED include AP_RTC/AP_RTC.h depends AP_RTC_ENABLED include AP_RTC/AP_RTC_config.h