mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 18:29:48 +02:00
Bugfix: project doesn't complie if #define DEBUG_VIA_USB is not enabled
This commit is contained in:
parent
c9ef1a143a
commit
14d54cd435
1 changed files with 3 additions and 1 deletions
|
@ -294,8 +294,9 @@ void update_values_kiaHyundai_64_battery() { //This function maps all the value
|
||||||
Serial.print(" | Inverter ");
|
Serial.print(" | Inverter ");
|
||||||
Serial.print(inverterVoltage);
|
Serial.print(inverterVoltage);
|
||||||
Serial.println(" Volts");
|
Serial.println(" Volts");
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void receive_can_kiaHyundai_64_battery(CAN_frame_t rx_frame) {
|
void receive_can_kiaHyundai_64_battery(CAN_frame_t rx_frame) {
|
||||||
switch (rx_frame.MsgID) {
|
switch (rx_frame.MsgID) {
|
||||||
|
@ -406,6 +407,7 @@ void receive_can_kiaHyundai_64_battery(CAN_frame_t rx_frame) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void send_can_kiaHyundai_64_battery() {
|
void send_can_kiaHyundai_64_battery() {
|
||||||
unsigned long currentMillis = millis();
|
unsigned long currentMillis = millis();
|
||||||
//Send 100ms message
|
//Send 100ms message
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue