simpgmspace CoGetOSTime() was returning wrong values (too big)

This commit is contained in:
Damjan Adamic
2017-03-31 19:52:20 +02:00
parent 9d3960f0f5
commit fa275793ad
+1 -1
View File
@@ -132,7 +132,7 @@ uint16_t getTmr2MHz()
// return 2ms resolution to match CoOS settings // return 2ms resolution to match CoOS settings
U64 CoGetOSTime(void) U64 CoGetOSTime(void)
{ {
return microsTimer() * 500; return microsTimer() / 2000;
} }
void simuInit() void simuInit()