Skip to content

Commit

Permalink
AP_Scripting: Docs: correct update_rpm and set_rpm_scale markup
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 authored and peterbarker committed Feb 11, 2023
1 parent 67500cc commit a75dc0a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/AP_Scripting/docs/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1437,14 +1437,14 @@ function esc_telem:get_temperature(instance) end
function esc_telem:get_rpm(instance) end

-- update RPM for an ESC
---@param param1 integer -- ESC number
---@param param2 integer -- RPM
---@param param3 number -- error rate
---@param esc_index integer -- ESC number
---@param rpm integer -- RPM
---@param error_rate number -- error rate
function esc_telem:update_rpm(esc_index, rpm, error_rate) end

-- set scale factor for RPM on a motor
---@param param1 motor index (0 is first motor)
---@param param2 scale factor
---@param esc_index integer -- index (0 is first motor)
---@param scale_factor number -- factor
function esc_telem:set_rpm_scale(esc_index, scale_factor) end

-- desc
Expand Down

0 comments on commit a75dc0a

Please sign in to comment.