21 lines
731 B
Plaintext
21 lines
731 B
Plaintext
menu "Sensor Configuration"
|
|
|
|
config SENSOR_RESET_GPIO
|
|
int "Factory reset button GPIO number"
|
|
default 0
|
|
help
|
|
GPIO connected to the factory reset button. The pin is configured
|
|
with the internal pull-up enabled; connect the button between this
|
|
pin and GND (active-low). GPIO 0 is the BOOT button on standard
|
|
ESP32 DevKit boards and requires no extra hardware.
|
|
|
|
config SENSOR_RESET_HOLD_MS
|
|
int "Factory reset hold duration (ms)"
|
|
default 5000
|
|
range 1000 30000
|
|
help
|
|
How long the factory reset button must be held continuously before
|
|
a factory reset is triggered. Shorter presses are ignored.
|
|
|
|
endmenu
|