Skip to content

Commit

Permalink
🕊️ Renames define
Browse files Browse the repository at this point in the history
  • Loading branch information
runeharlyk committed Nov 8, 2024
1 parent 89611b5 commit 6ce4747
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion esp32/build_settings.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build_settings]
build_flags =
-D BUILD_TARGET=\"$PIOENV\"
-D ESP32SVELTEKIT_RUNNING_CORE=0
-D APPLICATION_CORE=0
-D EMBED_WWW
-D SERVE_CONFIG_FILES
-D CORS_ORIGIN=\"*\"
Expand Down
2 changes: 1 addition & 1 deletion esp32/lib/ESP32-sveltekit/ESP32SvelteKit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void ESP32SvelteKit::begin() {
setupMDNS();

ESP_LOGV("ESP32SvelteKit", "Starting loop task");
_taskManager.createTask(this->_loopImpl, "Spot main", 4096, this, 2, NULL, ESP32SVELTEKIT_RUNNING_CORE);
_taskManager.createTask(this->_loopImpl, "Spot main", 4096, this, 2, NULL, APPLICATION_CORE);
}

void ESP32SvelteKit::setupServer() {
Expand Down
4 changes: 2 additions & 2 deletions esp32/lib/ESP32-sveltekit/ESP32SvelteKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
#define APP_NAME "SpotMicro"
#endif

#ifndef ESP32SVELTEKIT_RUNNING_CORE
#define ESP32SVELTEKIT_RUNNING_CORE -1
#ifndef APPLICATION_CORE
#define APPLICATION_CORE -1
#endif

class ESP32SvelteKit {
Expand Down

0 comments on commit 6ce4747

Please sign in to comment.