feat(display): PIN 改为 4 位,showPinMiddle4 → showPin

Made-with: Cursor
This commit is contained in:
stswangzhiping
2026-03-19 08:57:44 +08:00
parent ce7f9f028e
commit b4fa850445
2 changed files with 6 additions and 7 deletions

View File

@@ -242,7 +242,7 @@ class ClawClient {
if (msg.status === 'inactive') {
led.status.setSetup(); // 未激活 → SETUP 亮
led.display.showPinMiddle4(msg.pin); // 未激活 + 连网 → 显示 PIN 中间4位
led.display.showPin(msg.pin); // 未激活 + 连网 → 显示 4 位 PIN
const id = String(msg.claw_id).padEnd(6);
const pin = String(msg.pin);
log.info('clawd', '');