1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 11:29:56 +03:00

Update mixer.c

This commit is contained in:
breadoven 2025-05-26 16:29:35 +01:00
parent 93223782fb
commit 773d3ad14d

View file

@ -264,7 +264,7 @@ void mixerResetDisarmedMotors(void)
motor_disarmed[i] = motorZeroCommand; motor_disarmed[i] = motorZeroCommand;
} }
} }
#if !defined(SITL_BUILD)
static uint16_t handleOutputScaling( static uint16_t handleOutputScaling(
int16_t input, // Input value from the mixer int16_t input, // Input value from the mixer
int16_t stopThreshold, // Threshold value to check if motor should be rotating or not int16_t stopThreshold, // Threshold value to check if motor should be rotating or not
@ -289,6 +289,7 @@ static uint16_t handleOutputScaling(
return value; return value;
} }
#endif
#ifdef USE_DSHOT #ifdef USE_DSHOT
static void applyTurtleModeToMotors(void) { static void applyTurtleModeToMotors(void) {