Skip to content

Commit

Permalink
AP_Scripting: correct compilation when AP_RTC is compiled out
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Dec 12, 2023
1 parent 1aa6ad5 commit 22c1019
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_Scripting/generator/description/bindings.desc
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ singleton AP_Filesystem method stat boolean string AP_Filesystem::stat_t'Null

include AP_RTC/AP_RTC.h depends AP_RTC_ENABLED
include AP_RTC/AP_RTC_config.h
singleton AP_RTC depends AP_RTC_ENABLED
singleton AP_RTC rename rtc
singleton AP_RTC method clock_s_to_date_fields boolean uint32_t'skip_check uint16_t'Null uint8_t'Null uint8_t'Null uint8_t'Null uint8_t'Null uint8_t'Null uint8_t'Null
singleton AP_RTC method date_fields_to_clock_s uint32_t uint16_t'skip_check int8_t'skip_check uint8_t'skip_check uint8_t'skip_check uint8_t'skip_check uint8_t'skip_check

0 comments on commit 22c1019

Please sign in to comment.