2 files changed
+2
-2
No files matched your search
@@ -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
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user