Autotest: fix mavlink_time_boot format: should be int

This commit is contained in:
Pierre Kancir 2020-08-17 12:08:02 +02:00 committed by Peter Barker
parent acc4a1db3f
commit 0c3e9bbd4b

View File

@ -5044,11 +5044,11 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
def mavlink_time_boot_ms(self):
'''returns a time suitable for putting into the time_boot_ms entry in mavlink packets'''
return time.time() * 1000000
return int(time.time() * 1000000)
def mavlink_time_boot_us(self):
'''returns a time suitable for putting into the time_boot_ms entry in mavlink packets'''
return time.time() * 1000000000
return int(time.time() * 1000000000)
def ap_proximity_mav_obstacle_distance_send(self, data):
increment = data.get("increment", 0)