Skip to content

Commit

Permalink
Cleanup - disable live from default install
Browse files Browse the repository at this point in the history
Move supporting files to misc folder
pio: disable live as default
  • Loading branch information
ewoudwijma committed Jun 30, 2024
1 parent b0ef128 commit 2837f8b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,29 @@ build_flags =
-D STARBASE_USERMOD_LIVE
lib_deps =
https://github.com/hpwit/ASMParser.git

;about 1% /19KB of flash

[STARBASE]
build_flags =
-D APP=StarBase
-D PIOENV=$PIOENV
-D VERSION=24062015 ; Date and time (GMT!), update at every commit!!
-D VERSION=24063008 ; Date and time (GMT!), update at every commit!!
-D CONFIG_ASYNC_TCP_USE_WDT=0
-D LFS_THREADSAFE ; enables use of semaphores in LittleFS driver
-D STARBASE_DEVMODE
${ESPAsyncWebServer.build_flags}
${STARBASE_USERMOD_E131.build_flags}
${STARBASE_USERMOD_MPU6050.build_flags}
; ${STARBASE_USERMOD_HA.build_flags}
${STARBASE_USERMOD_LIVE.build_flags}
; ${STARBASE_USERMOD_LIVE.build_flags}
lib_deps =
${ESPAsyncWebServer.lib_deps}
https://github.com/bblanchon/ArduinoJson.git#v7.0.3
; https://github.com/Jason2866/ESP32_Show_Info.git
${STARBASE_USERMOD_E131.lib_deps}
${STARBASE_USERMOD_MPU6050.lib_deps}
; ${STARBASE_USERMOD_HA.lib_deps}
${STARBASE_USERMOD_LIVE.lib_deps}
; ${STARBASE_USERMOD_LIVE.lib_deps}



Expand Down
5 changes: 3 additions & 2 deletions src/User/UserModLive.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected]
*/

// #define __RUN_CORE 0
#include "parser.h"

long time1;
Expand Down Expand Up @@ -40,7 +41,7 @@ static void show1()
}

static void show2() {
ppf("show 2\n");
// ppf("show 2\n"); //test without print - works
}

class UserModLive:public SysModule {
Expand All @@ -50,7 +51,7 @@ class UserModLive:public SysModule {
Parser p = Parser();

UserModLive() :SysModule("Live") {
// isEnabled = false;
isEnabled = false; //need to enable after fresh setup
};

void setup() override {
Expand Down

0 comments on commit 2837f8b

Please sign in to comment.