如果串口路径不为空时则开关一次设备

This commit is contained in:
Zhanghu
2026-03-05 14:47:07 +08:00
parent d29aa0dfd1
commit cac9dd41aa
5 changed files with 90 additions and 5 deletions

View File

@@ -25,6 +25,11 @@
app:title="串口波特率"
app:defaultValue="9600"
app:useSimpleSummaryProvider="true" />
<CheckBoxPreference
app:key="k_send_power_on_cmd"
app:title="App 启动时发送打开电源指令"
app:summary="每次启动 App 时先发送关闭再发送打开电源指令"
app:defaultValue="true" />
<Preference
app:key="k_clear_device"
app:title="清除设备"