From 100af3cf8f15128ea9dd5a4d355ea9768fa554c0 Mon Sep 17 00:00:00 2001 From: Felix Wolfsteller Date: Wed, 19 Apr 2023 18:12:25 +0200 Subject: [PATCH 1/4] removed unused variable maan --- ESP-ECU_v9_8_exp.ino | 1 - 1 file changed, 1 deletion(-) diff --git a/ESP-ECU_v9_8_exp.ino b/ESP-ECU_v9_8_exp.ino index 570cbb8..18f9d02 100644 --- a/ESP-ECU_v9_8_exp.ino +++ b/ESP-ECU_v9_8_exp.ino @@ -75,7 +75,6 @@ int testCounter = 0; bool dayTime=true; byte mDay = 0; - String maan = ""; int actionFlag = 0; // variables wificonfig From d78d70cd8870b7396c1a65f84bd99c28778a1665 Mon Sep 17 00:00:00 2001 From: Felix Wolfsteller Date: Wed, 19 Apr 2023 18:15:14 +0200 Subject: [PATCH 2/4] change actionflag to uint8_t and remove unused variable --- ESP-ECU_v9_8_exp.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ESP-ECU_v9_8_exp.ino b/ESP-ECU_v9_8_exp.ino index 18f9d02..efedb0b 100644 --- a/ESP-ECU_v9_8_exp.ino +++ b/ESP-ECU_v9_8_exp.ino @@ -74,8 +74,7 @@ int testCounter = 0; time_t switchonTime = 0; bool dayTime=true; - byte mDay = 0; - int actionFlag = 0; + uint8_t actionFlag = 0; // variables wificonfig char pswd[11] = "0000"; From 00a45c1c5cde0303ff46698aa51e0704d4e2a675 Mon Sep 17 00:00:00 2001 From: Felix Wolfsteller Date: Wed, 19 Apr 2023 18:18:34 +0200 Subject: [PATCH 3/4] remove unused variables --- ESP-ECU_v9_8_exp.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ESP-ECU_v9_8_exp.ino b/ESP-ECU_v9_8_exp.ino index efedb0b..3e7eb92 100644 --- a/ESP-ECU_v9_8_exp.ino +++ b/ESP-ECU_v9_8_exp.ino @@ -94,11 +94,10 @@ int testCounter = 0; #define YC600_MAX_NUMBER_OF_INVERTERS 9 char inMessage[CC2530_MAX_SERIAL_BUFFER_SIZE] = {0}; int readCounter = 0; -char messageHead[5]; + bool diagNose=false; bool Polling = true; // when true we have automatic polling int errorCode=10; -int recovered = 0; int t_saved[YC600_MAX_NUMBER_OF_INVERTERS] = {0}; float en_saved[YC600_MAX_NUMBER_OF_INVERTERS][4] = {0}; From 76875d2417630a971a59d32cf885aa2b6bfb57b3 Mon Sep 17 00:00:00 2001 From: Felix Wolfsteller Date: Wed, 19 Apr 2023 18:24:47 +0200 Subject: [PATCH 4/4] remove unused variables --- ESP-ECU_v9_8_exp.ino | 3 --- 1 file changed, 3 deletions(-) diff --git a/ESP-ECU_v9_8_exp.ino b/ESP-ECU_v9_8_exp.ino index 3e7eb92..07805ab 100644 --- a/ESP-ECU_v9_8_exp.ino +++ b/ESP-ECU_v9_8_exp.ino @@ -148,7 +148,6 @@ int event = 0; int dst; int iKeuze; - int inverterTopoll = 0; bool timeRetrieved = false; int networksFound = 0; // used in the portal int datum = 0; // @@ -167,8 +166,6 @@ int event = 0; String toSend = ""; int value = 0; -//int pollCounter =0; -int aantal = 0; int resetCounter=0; // ******************************* log *************************************