배터리 읽기 실패 시 BLE 응답 0xFFFF

- 기존에는 0
- 다른 에러코드와 통일
This commit is contained in:
2026-09-02 12:21:06 +09:00
parent dee13bfef8
commit 7c254f8cb6
2 changed files with 62 additions and 65 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ int cmd_msn(const uint8_t *data, uint8_t data_len)
int mv = battery_read_mv();
if (mv < 0)
{
mv = 0;
mv = 0xFFFF;
}
cmd_send_response_u16("rsn:", (uint16_t)mv);