Tools: handle MAV_CMD_DO_SPRAYER as both long and int

This commit is contained in:
Peter Barker 2023-11-03 22:33:00 +11:00 committed by Andrew Tridgell
parent 1d08900cb0
commit 387aa63b90

View File

@ -9851,7 +9851,7 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
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(