Bugfix: project doesn't complie if #define DEBUG_VIA_USB is not enabled

This commit is contained in:
rjsc 2024-01-21 22:18:50 +00:00
parent c9ef1a143a
commit 14d54cd435

View file

@ -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