AP_Scripting: correct compilation with AP_FILESYSTEM_FORMAT_ENABLED is false

Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
This commit is contained in:
Peter Barker 2024-02-11 22:52:49 +11:00 committed by Peter Barker
parent eaf40fbfb3
commit bb8047c026

View File

@ -891,7 +891,9 @@ userdata AP_Filesystem::stat_t method is_directory boolean
singleton AP_Filesystem rename fs singleton AP_Filesystem rename fs
singleton AP_Filesystem method stat boolean string AP_Filesystem::stat_t'Null singleton AP_Filesystem method stat boolean string AP_Filesystem::stat_t'Null
singleton AP_Filesystem method format boolean 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 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.h depends AP_RTC_ENABLED
include AP_RTC/AP_RTC_config.h include AP_RTC/AP_RTC_config.h