[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-07-25 01:37:26 +00:00
parent 7743511f8a
commit 903d44904d
3 changed files with 5 additions and 5 deletions

View file

@ -28,7 +28,7 @@ class KiaEGmpBattery : public CanBattery {
int get_batteryManagementMode() const;
int get_BMS_ign() const;
int get_batRelay() const;
private:
KiaEGMPHtmlRenderer renderer;
uint16_t estimateSOC(uint16_t packVoltage, uint16_t cellCount, int16_t currentAmps);

View file

@ -13,4 +13,4 @@ String KiaEGMPHtmlRenderer::get_status_html() {
content += "<h4>BMS ignition: " + String(batt.get_BMS_ign()) + "</h4>";
content += "<h4>Battery relay: " + String(batt.get_batRelay()) + "</h4>";
return content;
}
}

View file

@ -7,12 +7,12 @@
class KiaEGmpBattery;
class KiaEGMPHtmlRenderer : public BatteryHtmlRenderer {
private:
private:
KiaEGmpBattery& batt;
public:
public:
KiaEGMPHtmlRenderer(KiaEGmpBattery& b) : batt(b) {}
String get_status_html();
};
#endif
#endif