Skip to content

Commit

Permalink
AP_Scripting: use AP_PERIPH_BARO_ENABLED in place of HAL_PERIPH_ENABL…
Browse files Browse the repository at this point in the history
…E_BRO
  • Loading branch information
shiv-tyagi authored and peterbarker committed Jan 30, 2025
1 parent c4654c9 commit 4fca0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Scripting/generator/description/bindings.desc
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ singleton serial manual find_serial lua_serial_find_serial 1 1
singleton serial manual find_simulated_device lua_serial_find_simulated_device 2 1 depends AP_SCRIPTING_SERIALDEVICE_ENABLED

include AP_Baro/AP_Baro.h
singleton AP_Baro depends (!defined(HAL_BUILD_AP_PERIPH) || defined(HAL_PERIPH_ENABLE_BARO))
singleton AP_Baro depends AP_BARO_ENABLED
singleton AP_Baro rename baro
singleton AP_Baro method get_pressure float
singleton AP_Baro method get_temperature float
Expand Down

0 comments on commit 4fca0cc

Please sign in to comment.