1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Update SBUS and CRSF to use microsISR() in the interrupt handler

This commit is contained in:
Bruce Luckcuck 2019-11-22 18:35:05 -05:00
parent 05418297b2
commit cb80314311
6 changed files with 9 additions and 2 deletions

View file

@ -406,6 +406,10 @@ extern "C" {
return simulationTime;
}
uint32_t microsISR() {
return micros();
}
uint32_t millis() {
return micros() / 1000;
}