Merge pull request #3580 from nieldk/master

Update helptext in cmdhw.c
This commit is contained in:
Iceman authored and GitHub committed 2026-09-02 14:51:45 +07:00
commit d1e0476278
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ void bwm_print_battery_status(void) {
}
unsigned health = (unsigned)(((uint32_t)fcc * 100) / design);
Dbprintf(" Full charge cap..... %u mAh (design %u)", fcc, design);
Dbprintf(" Battery health...... %u %% " _YELLOW_("(needs a full cycle to be accurate)"), health);
Dbprintf(" Battery health...... %u", health);
}
} else {
Dbprintf(" Fuel gauge.......... " _YELLOW_("not responding") " (BQ27427 absent or I2C down)");
+1 -1
View File
@@ -1809,7 +1809,7 @@ static int CmdBwmSetCap(const char *Cmd) {
uint8_t payload[2] = { (uint8_t)(cap & 0xFF), (uint8_t)((cap >> 8) & 0xFF) };
PrintAndLogEx(INFO, "Programming BWM gauge design capacity to " _YELLOW_("%d mAh") "...", cap);
PrintAndLogEx(INFO, "Run this " _YELLOW_("once") "; then perform a full charge/discharge learning cycle.");
PrintAndLogEx(INFO, "Run this " _YELLOW_("once"));
clearCommandBuffer();
SendCommandNG(CMD_PM5_BWM_SET_CAP, payload, sizeof(payload));