mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
As per @ledvinap review
This commit is contained in:
parent
e23e781956
commit
1361064245
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ void FAST_CODE run(void)
|
|||
{
|
||||
while (true) {
|
||||
scheduler();
|
||||
#if RUN_LOOP_DELAY_US
|
||||
delayMicroseconds_real(RUN_LOOP_DELAY_US); // max rate 20kHz
|
||||
#if defined(RUN_LOOP_DELAY_US) && RUN_LOOP_DELAY_US > 0
|
||||
delayMicroseconds_real(RUN_LOOP_DELAY_US);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue