From f8ee757ab7ac2811f3ba3be8937088edbe16c417 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 3 Nov 2023 22:33:00 +1100 Subject: [PATCH] Tools: handle MAV_CMD_DO_SPRAYER as both long and int --- Tools/autotest/arducopter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 8703b161d142d..1cb332597dfa9 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -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(