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:
parent
05418297b2
commit
cb80314311
6 changed files with 9 additions and 2 deletions
|
@ -406,6 +406,10 @@ extern "C" {
|
|||
return simulationTime;
|
||||
}
|
||||
|
||||
uint32_t microsISR() {
|
||||
return micros();
|
||||
}
|
||||
|
||||
uint32_t millis() {
|
||||
return micros() / 1000;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue