Changeset 55 for trunk/firmware
- Timestamp:
- Apr 1, 2026, 9:33:58 AM (5 weeks ago)
- File:
-
- 1 edited
-
trunk/firmware/Src/wh_counter.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/firmware/Src/wh_counter.c
r6 r55 232 232 if (sys_data.s.parameter.cellCapacity == 0U) 233 233 sys_data.s.values.SoH = -1; 234 else 234 else // Sometimes SoH is 0! Warning!!! 235 235 sys_data.s.values.SoH = (int32_t)((_promille * (int64_t)detectedCapacity_mAh) / (int64_t)sys_data.s.parameter.cellCapacity); 236 236 }
Note:
See TracChangeset
for help on using the changeset viewer.
