mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
Trend indicator for voltage page
This commit is contained in:
@@ -81,9 +81,9 @@ void sensorTask(void *param){
|
||||
bool INA226_1_ready = false; // INA226_1 initialized and ready to use
|
||||
|
||||
// Create integer arrays for average building
|
||||
int avgsize = 300;
|
||||
constexpr int arrayBatV{300};
|
||||
constexpr int arrayBatC{300};
|
||||
const int avgsize = 300;
|
||||
constexpr int arrayBatV{avgsize};
|
||||
constexpr int arrayBatC{avgsize};
|
||||
movingAvg batV(arrayBatV);
|
||||
movingAvg batC(arrayBatC);
|
||||
batV.begin();
|
||||
|
||||
Reference in New Issue
Block a user