mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
Rewrite with central user settings file
This commit is contained in:
parent
120fa9b5e7
commit
eeefd20970
21 changed files with 72 additions and 89 deletions
|
@ -85,8 +85,7 @@ void update_values_chademo_battery()
|
|||
CANstillAlive--;
|
||||
}
|
||||
|
||||
if(printValues)
|
||||
{ //values heading towards the modbus registers
|
||||
#ifdef DEBUG_VIA_USB
|
||||
if(errorCode > 0)
|
||||
{
|
||||
Serial.print("ERROR CODE ACTIVE IN SYSTEM. NUMBER: ");
|
||||
|
@ -120,7 +119,7 @@ void update_values_chademo_battery()
|
|||
Serial.println(temperature_min);
|
||||
Serial.print("Temperature Max: ");
|
||||
Serial.println(temperature_max);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void receive_can_chademo_battery(CAN_frame_t rx_frame)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue