1
0
forked from me/IronOS

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:
ave
2024-08-21 07:23:34 +02:00
committed by GitHub
parent adfc521122
commit 02b21a620b
42 changed files with 110 additions and 2 deletions

View File

@@ -411,6 +411,13 @@
"include": ["HALL_SENSOR"],
"description": "If the unit has a hall effect sensor (Pinecil), this adjusts how sensitive it is at detecting a magnet to put the device into sleep mode."
},
{
"id": "HallEffSleepTimeout",
"maxLen": 10,
"maxLen2": 10,
"include": ["HALL_SENSOR"],
"description": "If the unit has a hall effect sensor (Pinecil), this adjusts how long the device takes before it drops down to the sleep temperature when hall sensor is over threshold."
},
{
"id": "TemperatureUnit",
"maxLen": 6,