autotest: run reboots with cmd_int

This commit is contained in:
Peter Barker 2023-09-13 18:52:07 +10:00 committed by Andrew Tridgell
parent 5ed1344115
commit f22818a4b0

View File

@ -1890,7 +1890,7 @@ class AutoTest(ABC):
shutil.move(valgrind_log, backup_valgrind_log)
def run_cmd_reboot(self):
self.run_cmd(
self.run_cmd_int(
mavutil.mavlink.MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN,
p1=1, # reboot autopilot
)