mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 10:49:42 +02:00
More common image
This commit is contained in:
commit
901c89e03f
95 changed files with 1030 additions and 579 deletions
|
@ -1,10 +1,9 @@
|
|||
#include "../include.h"
|
||||
#ifdef CMFA_EV_BATTERY
|
||||
#include "CMFA-EV-BATTERY.h"
|
||||
#include "../communication/can/comm_can.h"
|
||||
#include "../datalayer/datalayer.h"
|
||||
#include "../datalayer/datalayer_extended.h"
|
||||
#include "../devboard/utils/events.h"
|
||||
#include "CMFA-EV-BATTERY.h"
|
||||
#include "../include.h"
|
||||
|
||||
/* The raw SOC value sits at 90% when the battery is full, so we should report back 100% once this value is reached
|
||||
Same goes for low point, when 10% is reached we report 0% */
|
||||
|
@ -951,5 +950,3 @@ void CmfaEvBattery::setup(void) { // Performs one time setup at startup
|
|||
datalayer.battery.info.min_cell_voltage_mV = MIN_CELL_VOLTAGE_MV;
|
||||
datalayer.battery.info.max_cell_voltage_deviation_mV = MAX_CELL_DEVIATION_MV;
|
||||
}
|
||||
|
||||
#endif //CMFA_EV_BATTERY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue