Permalink
Browse files

milliseconds as usec has been fixed now

  • Loading branch information...
1 parent c3f79df commit 105be2a91f42ad5bdfe43d4df00ce1b4565fc711 @tridge committed Mar 18, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 mavproxy.py
View
@@ -1075,9 +1075,6 @@ def battery_report():
def handle_msec_timestamp(m, master):
'''special handling for MAVLink packets with a time_boot_ms field'''
msec = m.time_boot_ms
- if msec > 1e7 and msec > master.highest_msec+1e5:
- # its been sent as microseconds
- msec /= 1000
if msec + 30000 < master.highest_msec:
say('Time has wrapped')
print('Time has wrapped', msec, master.highest_msec)

0 comments on commit 105be2a

Please sign in to comment.