🕊️ Renames define

This commit is contained in:
Rune Harlyk
2024-11-08 10:35:51 +01:00
parent 89611b5e3e
commit 6ce4747b4b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
[build_settings] [build_settings]
build_flags = build_flags =
-D BUILD_TARGET=\"$PIOENV\" -D BUILD_TARGET=\"$PIOENV\"
-D ESP32SVELTEKIT_RUNNING_CORE=0 -D APPLICATION_CORE=0
-D EMBED_WWW -D EMBED_WWW
-D SERVE_CONFIG_FILES -D SERVE_CONFIG_FILES
-D CORS_ORIGIN=\"*\" -D CORS_ORIGIN=\"*\"
+1 -1
View File
@@ -66,7 +66,7 @@ void ESP32SvelteKit::begin() {
setupMDNS(); setupMDNS();
ESP_LOGV("ESP32SvelteKit", "Starting loop task"); 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() { void ESP32SvelteKit::setupServer() {
+2 -2
View File
@@ -56,8 +56,8 @@
#define APP_NAME "SpotMicro" #define APP_NAME "SpotMicro"
#endif #endif
#ifndef ESP32SVELTEKIT_RUNNING_CORE #ifndef APPLICATION_CORE
#define ESP32SVELTEKIT_RUNNING_CORE -1 #define APPLICATION_CORE -1
#endif #endif
class ESP32SvelteKit { class ESP32SvelteKit {