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:
parent
89a1aa7cc6
commit
fc67a40127
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue