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