mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-16 16:22:38 +00:00
board: fix double-press confirm window on WT2 and V4.3
Both emit ENTER via a zephyr,input-longpress filter (single button), same category the Kconfig help text already documents as needing CONFIG_ZEPHCORE_UI_CONFIRM_WINDOW_MS=3000 instead of the 500ms default -- two ~1s holds don't fit in 500ms, so the second long press on shutdown/DFU/offgrid always arrives after the window closed and just re-arms instead of confirming. T096 already had this set (board.conf:38); WT2 and V4.3 didn't, apparently missed when their board.conf was written.
This commit is contained in:
@@ -23,3 +23,8 @@ CONFIG_ZEPHCORE_SX126X_HELTEC_REG_PATCH=y
|
||||
# Measured (MeshCore issue #1708, GC1109 data — KCT8103L similar): TX=18 → ~27 dBm
|
||||
# radiated, practical efficiency peak. TX=10 → ~20 dBm; TX=22 saturates same as TX=18.
|
||||
CONFIG_ZEPHCORE_DEFAULT_TX_POWER_DBM=12
|
||||
|
||||
# Single button, ENTER emitted via a zephyr,input-longpress filter (see
|
||||
# board.overlay): the default 500ms double-press confirm window (shutdown/
|
||||
# DFU/offgrid) is too short for two ~1s holds, see Kconfig help text.
|
||||
CONFIG_ZEPHCORE_UI_CONFIRM_WINDOW_MS=3000
|
||||
|
||||
@@ -23,3 +23,8 @@ CONFIG_ZEPHCORE_SX126X_HELTEC_REG_PATCH=y
|
||||
# the PA enabled. The module is physically capable of higher output; start
|
||||
# conservative to avoid overdriving the front end.
|
||||
CONFIG_ZEPHCORE_DEFAULT_TX_POWER_DBM=9
|
||||
|
||||
# Single button, ENTER emitted via a zephyr,input-longpress filter (see
|
||||
# board.overlay): the default 500ms double-press confirm window (shutdown/
|
||||
# DFU/offgrid) is too short for two ~1s holds, see Kconfig help text.
|
||||
CONFIG_ZEPHCORE_UI_CONFIRM_WINDOW_MS=3000
|
||||
|
||||
Reference in New Issue
Block a user