Skip to content

Commit

Permalink
Decode 0x4000 to "Charge overcurrent protection" of the error bitmask
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Oct 21, 2022
1 parent 070860d commit 50a8795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/jk_bms_ble/jk_bms_ble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static const char *const ERRORS[ERRORS_SIZE] = {
"Error 0x08 0x00", // 0000 1000 0000 0000
"Cell Overvoltage", // 0001 0000 0000 0000
"Error 0x20 0x00", // 0010 0000 0000 0000
"Error 0x40 0x00", // 0100 0000 0000 0000
"Charge overcurrent protection", // 0100 0000 0000 0000
"Error 0x80 0x00", // 1000 0000 0000 0000
};

Expand Down

0 comments on commit 50a8795

Please sign in to comment.