Skip to content

Commit

Permalink
Tools: handle MAV_CMD_DO_SPRAYER as both long and int
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed Nov 6, 2023
1 parent 1d08900 commit 387aa63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/autotest/arducopter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9851,7 +9851,7 @@ def Sprayer(self):

self.start_subtest("Checking mavlink commands")
self.progress("Starting Sprayer")
self.run_cmd(mavutil.mavlink.MAV_CMD_DO_SPRAYER, p1=1)
self.run_cmd_int(mavutil.mavlink.MAV_CMD_DO_SPRAYER, p1=1)

self.progress("Testing speed-ramping")
self.wait_servo_channel_value(
Expand Down

0 comments on commit 387aa63

Please sign in to comment.