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

Changed subTaskRcCommand() to be FAST_CODE_NOINLINE

Previously the code in subTaskRcCommand() was part of subTaskMainSubprocesses() which is set to FAST_CODE_NOINLINE.  When it was split out into a separate function it inherited FAST_CODE from taskMainPidLoop() which made it get inlined and caused ITCM_RAM overflow.
This commit is contained in:
Bruce Luckcuck 2018-05-27 10:40:39 -04:00
parent 89a1aa7cc6
commit fc67a40127

View file

@ -962,7 +962,7 @@ static FAST_CODE void subTaskMotorUpdate(timeUs_t currentTimeUs)
DEBUG_SET(DEBUG_PIDLOOP, 2, micros() - startTime);
}
static void subTaskRcCommand(timeUs_t currentTimeUs)
static FAST_CODE_NOINLINE void subTaskRcCommand(timeUs_t currentTimeUs)
{
// If we're armed, at minimum throttle, and we do arming via the