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

Merge pull request #10953 from mikeller/fix_fast_code_duplications

This commit is contained in:
Michael Keller 2021-09-28 02:24:47 +13:00 committed by GitHub
commit 2e3426c037
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ int main(void)
return 0; return 0;
} }
void FAST_CODE FAST_CODE_NOINLINE run(void) void FAST_CODE run(void)
{ {
while (true) { while (true) {
scheduler(); scheduler();

View file

@ -371,7 +371,7 @@ static FAST_CODE void checkForYawSpin(timeUs_t currentTimeUs)
} }
#endif // USE_YAW_SPIN_RECOVERY #endif // USE_YAW_SPIN_RECOVERY
static FAST_CODE FAST_CODE_NOINLINE void gyroUpdateSensor(gyroSensor_t *gyroSensor) static FAST_CODE void gyroUpdateSensor(gyroSensor_t *gyroSensor)
{ {
if (!gyroSensor->gyroDev.readFn(&gyroSensor->gyroDev)) { if (!gyroSensor->gyroDev.readFn(&gyroSensor->gyroDev)) {
return; return;