mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Improve logging
This commit is contained in:
parent
470ddc7f81
commit
1b297afa91
2 changed files with 34 additions and 18 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue