Improve logging

This commit is contained in:
Daniel 2023-11-27 23:53:40 +02:00
parent 470ddc7f81
commit 1b297afa91
2 changed files with 34 additions and 18 deletions

View file

@ -405,7 +405,6 @@ void send_can() {
//---- Receives serial data and transfers to the Inverter
void receive_serial() {
unsigned long currentMillis = millis();
Serial.println(currentMillis);
if (currentMillis - previousMillis1ms >= interval1) { //--- try 2 second
previousMillis1ms = currentMillis;
manageSerialLinkReceiver();