simpgmspace CoGetOSTime() was returning wrong values (too big)
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user