mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Pre-commit
This commit is contained in:
parent
6943963907
commit
cee1e11bff
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue