Fixed tests.
This commit is contained in:
parent
6de1c32d9d
commit
8a72362a67
|
@ -415,7 +415,7 @@ void validateAndFixGyroConfig(void)
|
|||
#ifdef USE_GYRO_DATA_ANALYSE
|
||||
// Disable dynamic filter if gyro loop is less than 2KHz
|
||||
if (gyro.targetLooptime > DYNAMIC_FILTER_MAX_SUPPORTED_LOOP_TIME) {
|
||||
featureClear(FEATURE_DYNAMIC_FILTER);
|
||||
featureDisable(FEATURE_DYNAMIC_FILTER);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -849,7 +849,7 @@ bool processRx(timeUs_t currentTimeUs)
|
|||
}
|
||||
#endif
|
||||
|
||||
pidSetAntiGravityState(IS_RC_MODE_ACTIVE(BOXANTIGRAVITY) || feature(FEATURE_ANTI_GRAVITY));
|
||||
pidSetAntiGravityState(IS_RC_MODE_ACTIVE(BOXANTIGRAVITY) || featureIsEnabled(FEATURE_ANTI_GRAVITY));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -318,7 +318,7 @@ void fcTasksInit(void)
|
|||
setTaskEnabled(TASK_TRANSPONDER, featureIsEnabled(FEATURE_TRANSPONDER));
|
||||
#endif
|
||||
#ifdef USE_OSD
|
||||
setTaskEnabled(TASK_OSD, featureIsEnabled(FEATURE_OSD) && osdInitialized()));
|
||||
setTaskEnabled(TASK_OSD, featureIsEnabled(FEATURE_OSD) && osdInitialized());
|
||||
#endif
|
||||
#ifdef USE_BST
|
||||
setTaskEnabled(TASK_BST_MASTER_PROCESS, true);
|
||||
|
|
|
@ -332,7 +332,7 @@ static void initSmartPortSensors(void)
|
|||
|
||||
if (isBatteryVoltageConfigured()) {
|
||||
#ifdef USE_ESC_SENSOR
|
||||
if (!featureIsEnabled(FEATURE_ESC_SENSOR)) {
|
||||
if (!reportExtendedEscSensors())
|
||||
#endif
|
||||
{
|
||||
ADD_SENSOR(FSSP_DATAID_VFAS);
|
||||
|
|
|
@ -210,6 +210,7 @@ uint8_t getCurrentControlRateProfileIndex(void){ return 1; }
|
|||
void changeControlRateProfile(uint8_t) {}
|
||||
void resetAllRxChannelRangeConfigurations(rxChannelRangeConfig_t *) {}
|
||||
void writeEEPROM() {}
|
||||
void writeEEPROMWithFeatures(uint32_t) {}
|
||||
serialPortConfig_t *serialFindPortConfiguration(serialPortIdentifier_e) {return NULL; }
|
||||
baudRate_e lookupBaudRateIndex(uint32_t){return BAUD_9600; }
|
||||
serialPortUsage_t *findSerialPortUsageByIdentifier(serialPortIdentifier_e){ return NULL; }
|
||||
|
|
Loading…
Reference in New Issue