mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: added get_aux_cached() RC binding
This commit is contained in:
parent
3c8a46d2c5
commit
06b18183e0
|
@ -1296,6 +1296,11 @@ function rc:get_channel(chan_num) end
|
|||
---@return boolean
|
||||
function rc:has_valid_input() end
|
||||
|
||||
-- return cached level of aux function
|
||||
---@param aux_fn integer
|
||||
---@return integer|nil
|
||||
function rc:get_aux_cached(aux_fn) end
|
||||
|
||||
-- desc
|
||||
---@param aux_fun integer
|
||||
---@param ch_flag integer
|
||||
|
|
|
@ -276,6 +276,7 @@ singleton RC_Channels method run_aux_function boolean RC_Channel::AUX_FUNC'enum
|
|||
singleton RC_Channels method has_valid_input boolean
|
||||
singleton RC_Channels method lua_rc_channel RC_Channel uint8_t 1 NUM_RC_CHANNELS
|
||||
singleton RC_Channels method lua_rc_channel rename get_channel
|
||||
singleton RC_Channels method get_aux_cached boolean RC_Channel::AUX_FUNC'enum 0 UINT16_MAX uint8_t'Null
|
||||
|
||||
include AP_SerialManager/AP_SerialManager.h
|
||||
|
||||
|
|
Loading…
Reference in New Issue