Changeset 55 for trunk/firmware


Ignore:
Timestamp:
Apr 1, 2026, 9:33:58 AM (5 weeks ago)
Author:
f.jahn
Message:

Fixing Projects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/firmware/Src/wh_counter.c

    r6 r55  
    232232                        if (sys_data.s.parameter.cellCapacity == 0U)
    233233                                sys_data.s.values.SoH = -1;
    234                         else
     234                        else    // Sometimes SoH is 0! Warning!!!
    235235                                sys_data.s.values.SoH = (int32_t)((_promille * (int64_t)detectedCapacity_mAh) / (int64_t)sys_data.s.parameter.cellCapacity);
    236236                }
Note: See TracChangeset for help on using the changeset viewer.