🐍 Makes sveltekit run arduino task loop

This commit is contained in:
Rune Harlyk
2024-07-11 21:28:54 +02:00
committed by Rune Harlyk
parent 6c257784ca
commit c432792300
3 changed files with 4 additions and 6 deletions
+1 -3
View File
@@ -83,8 +83,6 @@ void ESP32SvelteKit::begin() {
startServices();
ESP_LOGV("ESP32SvelteKit", "Starting loop task");
_taskManager.createTask(this->_loopImpl, "Spot main", 4096, this, (tskIDLE_PRIORITY + 1), NULL,
ESP32SVELTEKIT_RUNNING_CORE);
}
void ESP32SvelteKit::setupServer() {
@@ -204,7 +202,7 @@ void ESP32SvelteKit::startServices() {
#endif
}
void IRAM_ATTR ESP32SvelteKit::_loop() {
void IRAM_ATTR ESP32SvelteKit::loop() {
while (1) {
_wifiSettingsService.loop();
_apSettingsService.loop();