Pre-commit

This commit is contained in:
Cabooman 2024-04-26 21:53:16 +02:00
parent 6943963907
commit cee1e11bff
2 changed files with 2 additions and 2 deletions

View file

@ -226,7 +226,7 @@ void core_loop(void* task_time_us) {
if (millis() - previousMillisUpdateVal >= intervalUpdateValues) // Every 5s normally
{
previousMillisUpdateVal = millis();
update_SOC(); // Check if real or calculated SOC% value should be sent
update_SOC(); // Check if real or calculated SOC% value should be sent
update_values(); // Update values heading towards inverter. Prepare for sending on CAN, or write directly to Modbus.
if (DUMMY_EVENT_ENABLED) {
set_event(EVENT_DUMMY_ERROR, (uint8_t)millis());

View file

@ -5,8 +5,8 @@
#endif
#include "../../../USER_SETTINGS.h"
#include "timer.h"
#include "../../lib/Uptime_Library/src/uptime.h"
#include "timer.h"
#define EE_NOF_EVENT_ENTRIES 30
#define EE_EVENT_ENTRY_SIZE sizeof(EVENT_LOG_ENTRY_TYPE)