mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
LP-173 Removed comments referencing previously removed code.
This commit is contained in:
parent
4b54986f6f
commit
5f1fef4bc7
@ -164,12 +164,9 @@ static void UpdateStabilizationDesired(bool doingIdent);
|
||||
*/
|
||||
int32_t AutoTuneInitialize(void)
|
||||
{
|
||||
// do this here since module can become disabled for several reasons
|
||||
// even for MODULE_AutoTune_BUILTIN
|
||||
#if defined(MODULE_AutoTune_BUILTIN)
|
||||
moduleEnabled = true;
|
||||
#else
|
||||
// HwSettings is only used right here, so init here
|
||||
HwSettingsOptionalModulesData optionalModules;
|
||||
HwSettingsOptionalModulesGet(&optionalModules);
|
||||
if (optionalModules.AutoTune == HWSETTINGS_OPTIONALMODULES_ENABLED) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user