Add a sleep timeout setting for hall sensor (#1969)
* Add a sleep timeout setting for hall sensor * Update Settings.h to reorder HallEffectSleepTime to the end * Update Settings.cpp to reorder HallEffectSleepTime to the end * add HallEffSleepTimeout to rest of translations * mix misaligned number in Settings.cpp * fix clang-format issue in getHallEffectSleepTimeout
This commit is contained in:
@@ -104,6 +104,7 @@ static const SettingConstants settingsConstants[(int)SettingsOptions::SettingsOp
|
||||
{ MIN_TEMP_C, MAX_TEMP_F, 5, 90}, // ProfilePhase5Temp
|
||||
{ 10, 180, 5, 30}, // ProfilePhase5Duration
|
||||
{ 1, 10, 1, 2}, // ProfileCooldownSpeed
|
||||
{ 0, 12, 1, 0}, // HallEffectSleepTime
|
||||
};
|
||||
static_assert((sizeof(settingsConstants) / sizeof(SettingConstants)) == ((int)SettingsOptions::SettingsOptionsLength));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user