Commit ee7ae9ba authored by pixhawk's avatar pixhawk

Fixed a bug introduced by adaptions to windows platform

parent 261dcf6e
...@@ -729,7 +729,11 @@ quint64 UAS::getUnixTime(quint64 time) ...@@ -729,7 +729,11 @@ quint64 UAS::getUnixTime(quint64 time)
// 60 seconds // 60 seconds
// 1000 milliseconds // 1000 milliseconds
// 1000 microseconds // 1000 microseconds
#ifndef _MSVC_VER
else if (time < 1261440000000000LLU)
#else
else if (time < 1261440000000000) else if (time < 1261440000000000)
#endif
{ {
if (onboardTimeOffset == 0) if (onboardTimeOffset == 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment