1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 03:50:02 +03:00

Travis, what did you do with common/atomic.h?

This commit is contained in:
jflyper 2016-10-05 02:00:02 +09:00
parent a89c36b5e1
commit 2a0e22f8b4

View file

@ -122,6 +122,7 @@ uint32_t micros(void)
*/
asm volatile("\tnop\n");
} while (ms != sysTickUptime);
return (ms * 1000) + (usTicks * 1000 - cycle_cnt) / usTicks;
}