Tidy some battery files

This commit is contained in:
Jonny 2025-09-02 08:56:24 +01:00
parent a40de5ecee
commit b205b63af3
5 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#include "../datalayer/datalayer.h" #include "../datalayer/datalayer.h"
#include "../devboard/utils/events.h" #include "../devboard/utils/events.h"
#include "../devboard/utils/logging.h" #include "../devboard/utils/logging.h"
/* /*
MG HS PHEV 16.6kWh battery integration MG HS PHEV 16.6kWh battery integration

View file

@ -3,6 +3,7 @@
#include "../communication/can/comm_can.h" #include "../communication/can/comm_can.h"
#include "../datalayer/datalayer.h" #include "../datalayer/datalayer.h"
#include "../devboard/utils/events.h" #include "../devboard/utils/events.h"
/* TODO /* TODO
- LOG files from vehicle needed to determine CAN content needed to send towards battery! - LOG files from vehicle needed to determine CAN content needed to send towards battery!
- BCCM_PMZ_A (0x18B 50ms) - BCCM_PMZ_A (0x18B 50ms)

View file

@ -3,6 +3,7 @@
#include "../communication/can/comm_can.h" #include "../communication/can/comm_can.h"
#include "../datalayer/datalayer.h" #include "../datalayer/datalayer.h"
#include "../devboard/utils/events.h" #include "../devboard/utils/events.h"
/* Credits go to maciek16c for these findings! /* Credits go to maciek16c for these findings!
https://github.com/maciek16c/hyundai-santa-fe-phev-battery https://github.com/maciek16c/hyundai-santa-fe-phev-battery
https://openinverter.org/forum/viewtopic.php?p=62256 https://openinverter.org/forum/viewtopic.php?p=62256

View file

@ -5,6 +5,7 @@
#include "../datalayer/datalayer_extended.h" //For "More battery info" webpage #include "../datalayer/datalayer_extended.h" //For "More battery info" webpage
#include "../devboard/utils/events.h" #include "../devboard/utils/events.h"
#include "../devboard/utils/logging.h" #include "../devboard/utils/logging.h"
void VolvoSpaBattery:: void VolvoSpaBattery::
update_values() { //This function maps all the values fetched via CAN to the correct parameters used for the inverter update_values() { //This function maps all the values fetched via CAN to the correct parameters used for the inverter

View file

@ -5,6 +5,7 @@
#include "../datalayer/datalayer_extended.h" //For "More battery info" webpage #include "../datalayer/datalayer_extended.h" //For "More battery info" webpage
#include "../devboard/utils/events.h" #include "../devboard/utils/events.h"
#include "../devboard/utils/logging.h" #include "../devboard/utils/logging.h"
void VolvoSpaHybridBattery:: void VolvoSpaHybridBattery::
update_values() { //This function maps all the values fetched via CAN to the correct parameters used for the inverter update_values() { //This function maps all the values fetched via CAN to the correct parameters used for the inverter
uint8_t cnt = 0; uint8_t cnt = 0;