feat: 启动时检测在线的 I2C 设备,避免不在线时崩溃。

This commit is contained in:
2023-02-26 23:43:17 +08:00
parent ded155d9b5
commit a869036d34
9 changed files with 96 additions and 44 deletions

View File

@ -66,7 +66,7 @@ endmenu
menu "Encoder Configuration"
config ENCODER_0_CLK_PIN
int "encoder 0 click GPIO"
int "encoder 0 clock GPIO"
range 0 32
default 2
help
@ -85,7 +85,7 @@ menu "Encoder Configuration"
Encoder 0 switch pin
config ENCODER_1_CLK_PIN
int "encoder 1 click GPIO"
int "encoder 1 clock GPIO"
range 0 32
default 5
help