fix imports

This commit is contained in:
2025-06-08 16:12:40 +01:00
parent 829ed0f61e
commit b457a39997
21 changed files with 45 additions and 282 deletions

View File

@@ -1,7 +1,7 @@
set(srcs
"src/loadbalancer.c"
"src/input_filter.c" "src/loadbalancer.c"
)
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "include"
REQUIRES gridmeter evsemeter)
REQUIRES esp_event gridmeter evsemeter)

0
components/loadbalancer/include/input_filter.h Normal file → Executable file
View File

0
components/loadbalancer/src/input_filter.c Normal file → Executable file
View File

View File

@@ -79,7 +79,7 @@ void loadbalancer_task(void *param)
}
ESP_LOGI(TAG, "Setting EVSE current limit: %.1f A", available);
evse_set_current_limit((uint16_t)available);
evse_set_charging_current((uint16_t)available);
vTaskDelay(pdMS_TO_TICKS(1000));
}