* 仅串口路径为空时才自动检测设备

* 设置界面可清除串口路径
This commit is contained in:
Zhanghu
2026-03-05 14:04:38 +08:00
parent 5b0eb711a6
commit d29aa0dfd1
4 changed files with 50 additions and 8 deletions

View File

@@ -25,5 +25,9 @@
app:title="串口波特率"
app:defaultValue="9600"
app:useSimpleSummaryProvider="true" />
<Preference
app:key="k_clear_device"
app:title="清除设备"
app:summary="清除当前串口设备路径, 下次启动时自动检测设备。" />
</PreferenceCategory>
</PreferenceScreen>