mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 10:12:50 +00:00
Thinknode button and backlight fixes (#7641)
* Thinknode button and backlight fixes * Save backlight value between reboots
This commit is contained in:
@@ -92,8 +92,11 @@ bool ButtonThread::initButton(const ButtonConfig &config)
|
||||
if (config.shortLong != INPUT_BROKER_NONE) {
|
||||
_shortLong = config.shortLong;
|
||||
}
|
||||
|
||||
#ifdef USE_EINK
|
||||
userButton.setDebounceMs(0);
|
||||
#else
|
||||
userButton.setDebounceMs(1);
|
||||
#endif
|
||||
userButton.setPressMs(_longPressTime);
|
||||
|
||||
if (screen) {
|
||||
|
||||
Reference in New Issue
Block a user