mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Merge pull request #9682 from etracer65/piniobox_task
Only enable PINIOBOX task when needed
This commit is contained in:
commit
4e7f7112d0
14 changed files with 40 additions and 8 deletions
|
@ -1107,4 +1107,5 @@ extern "C" {
|
|||
void updateRcRefreshRate(timeUs_t) {};
|
||||
uint16_t getAverageSystemLoadPercent(void) { return 0; }
|
||||
bool isMotorProtocolEnabled(void) { return true; }
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
|
@ -598,4 +598,5 @@ bool areSticksActive(uint8_t stickPercentLimit) {
|
|||
void beeperConfirmationBeeps(uint8_t beepCount) { UNUSED(beepCount); }
|
||||
|
||||
bool crashRecoveryModeActive(void) { return false; }
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
|
@ -249,4 +249,5 @@ bool accGetAccumulationAverage(float *) { return false; }
|
|||
void mixerSetThrottleAngleCorrection(int) {};
|
||||
bool gpsRescueIsRunning(void) { return false; }
|
||||
bool isFixedWing(void) { return false; }
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
|
@ -396,5 +396,5 @@ bool isFlipOverAfterCrashActive(void) { return false; }
|
|||
void ws2811LedStripEnable(void) { }
|
||||
|
||||
void setUsedLedCount(unsigned) { };
|
||||
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
|
@ -456,6 +456,7 @@ extern "C" {
|
|||
void resetPPMDataReceivedState(void){ }
|
||||
void failsafeOnValidDataReceived(void) { }
|
||||
void failsafeOnValidDataFailed(void) { }
|
||||
void pinioBoxTaskControl(void) { }
|
||||
|
||||
void rxPwmInit(rxRuntimeState_t *rxRuntimeState, rcReadRawDataFnPtr *callback)
|
||||
{
|
||||
|
|
|
@ -655,4 +655,5 @@ void resetTryingToArm(void) {}
|
|||
void setLedProfile(uint8_t profile) { UNUSED(profile); }
|
||||
uint8_t getLedProfile(void) { return 0; }
|
||||
void compassStartCalibration(void) {}
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
|
@ -994,4 +994,5 @@ extern "C" {
|
|||
bool cmsInMenu;
|
||||
uint32_t resumeRefreshAt = 0;
|
||||
int getArmingDisableFlags(void) {return 0;}
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
|
@ -243,4 +243,6 @@ float pt1FilterApply(pt1Filter_t *filter, float input)
|
|||
return 0.0;
|
||||
}
|
||||
|
||||
void pinioBoxTaskControl(void) {}
|
||||
|
||||
}
|
||||
|
|
|
@ -254,4 +254,6 @@ extern "C" {
|
|||
UNUSED(input);
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
|
@ -192,4 +192,5 @@ extern "C" {
|
|||
void updateRcRefreshRate(timeUs_t) {};
|
||||
uint16_t getAverageSystemLoadPercent(void) { return 0; }
|
||||
bool isMotorProtocolEnabled(void) { return false; }
|
||||
void pinioBoxTaskControl(void) {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue