AP_Scripting: disable PWMSource in scripts for 4.3.4

this avoids the interrupt handling bug. Proper fix in 4.4.x
This commit is contained in:
Andrew Tridgell 2023-02-21 14:44:21 +11:00
parent 9db9073dc4
commit a61a3e19c5

View File

@ -426,10 +426,11 @@ ap_object AP_HAL::AnalogSource method voltage_average float
ap_object AP_HAL::AnalogSource method voltage_latest float
ap_object AP_HAL::AnalogSource method voltage_average_ratiometric float
userdata AP_HAL::PWMSource rename PWMSource
userdata AP_HAL::PWMSource method set_pin boolean uint8_t 0 UINT8_MAX "Scripting"'literal
userdata AP_HAL::PWMSource method get_pwm_us uint16_t
userdata AP_HAL::PWMSource method get_pwm_avg_us uint16_t
-- disabled for 4.3.4 due to interrupt handling bug
-- userdata AP_HAL::PWMSource rename PWMSource
-- userdata AP_HAL::PWMSource method set_pin boolean uint8_t 0 UINT8_MAX "Scripting"'literal
-- userdata AP_HAL::PWMSource method get_pwm_us uint16_t
-- userdata AP_HAL::PWMSource method get_pwm_avg_us uint16_t
singleton hal.gpio rename gpio
singleton hal.gpio literal