🕊️ Renames define
This commit is contained in:
@@ -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=\"*\"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user