From c87e02003c9476edd45039fc8da880c3e9ec21b8 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Wed, 8 Sep 2021 01:51:09 +1200 Subject: [PATCH] Fixed instances of 'FAST_CODE FAST_CODE_NOINLINE'. --- src/main/main.c | 2 +- src/main/sensors/gyro.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/main.c b/src/main/main.c index 2d93e83af..229b7ec20 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -38,7 +38,7 @@ int main(void) return 0; } -void FAST_CODE FAST_CODE_NOINLINE run(void) +void FAST_CODE run(void) { while (true) { scheduler(); diff --git a/src/main/sensors/gyro.c b/src/main/sensors/gyro.c index aa3be4661..4c210bead 100644 --- a/src/main/sensors/gyro.c +++ b/src/main/sensors/gyro.c @@ -371,7 +371,7 @@ static FAST_CODE void checkForYawSpin(timeUs_t currentTimeUs) } #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)) { return;