* lotsa super boring refactoring
This commit is contained in:
1 parent
98f9e81681
commit
ce02d5a787
212 files changed
+693
-365
No files matched your search
@@ -94,7 +94,7 @@ lib_deps =
|
||||
extends = ThinkNode_M9
|
||||
build_flags =
|
||||
${ThinkNode_M9.build_flags}
|
||||
-I examples/companion_radio/ui-new
|
||||
-I src/helpers/ui/companion-new
|
||||
-D MAX_CONTACTS=350
|
||||
-D MAX_GROUP_CHANNELS=40
|
||||
-D BLE_PIN_CODE=123456
|
||||
@@ -106,7 +106,7 @@ build_src_filter = ${ThinkNode_M9.build_src_filter}
|
||||
+<helpers/ui/buzzer.cpp>
|
||||
+<helpers/ui/MomentaryButton.cpp>
|
||||
+<../examples/companion_radio/*.cpp>
|
||||
+<../examples/companion_radio/ui-new/*.cpp>
|
||||
+<helpers/ui/companion-new>
|
||||
lib_deps =
|
||||
${ThinkNode_M9.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
@@ -116,7 +116,7 @@ lib_deps =
|
||||
extends = ThinkNode_M9
|
||||
build_flags =
|
||||
${ThinkNode_M9.build_flags}
|
||||
-I examples/companion_radio/ui-new
|
||||
-I src/helpers/ui/companion-new
|
||||
-D MAX_CONTACTS=350
|
||||
-D MAX_GROUP_CHANNELS=40
|
||||
-D OFFLINE_QUEUE_SIZE=256
|
||||
@@ -126,7 +126,7 @@ build_src_filter = ${ThinkNode_M9.build_src_filter}
|
||||
+<helpers/ui/buzzer.cpp>
|
||||
+<helpers/ui/MomentaryButton.cpp>
|
||||
+<../examples/companion_radio/*.cpp>
|
||||
+<../examples/companion_radio/ui-new/*.cpp>
|
||||
+<helpers/ui/companion-new>
|
||||
lib_deps =
|
||||
${ThinkNode_M9.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
@@ -136,7 +136,7 @@ lib_deps =
|
||||
extends = ThinkNode_M9
|
||||
build_flags =
|
||||
${ThinkNode_M9.build_flags}
|
||||
-I examples/companion_radio/ui-new
|
||||
-I src/helpers/ui/companion-new
|
||||
-D ENABLE_WIFI_INTERFACE
|
||||
-D MAX_CONTACTS=350
|
||||
-D MAX_GROUP_CHANNELS=40
|
||||
@@ -151,7 +151,7 @@ build_src_filter = ${ThinkNode_M9.build_src_filter}
|
||||
+<helpers/ui/buzzer.cpp>
|
||||
+<helpers/ui/MomentaryButton.cpp>
|
||||
+<../examples/companion_radio/*.cpp>
|
||||
+<../examples/companion_radio/ui-new/*.cpp>
|
||||
+<helpers/ui/companion-new>
|
||||
lib_deps =
|
||||
${ThinkNode_M9.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
@@ -20,6 +20,7 @@ EnvironmentSensorManager sensors = EnvironmentSensorManager();
|
||||
|
||||
#ifdef DISPLAY_CLASS
|
||||
DISPLAY_CLASS display;
|
||||
UITask ui_task(&board, &display);
|
||||
#endif
|
||||
|
||||
#ifdef RF_SWITCH_TABLE
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#ifdef DISPLAY_CLASS
|
||||
#include <helpers/ui/ST7789Display.h>
|
||||
#include <helpers/ui/MomentaryButton.h>
|
||||
#include <UITask.h>
|
||||
#endif
|
||||
|
||||
extern ThinkNodeM9Board board;
|
||||
@@ -22,6 +23,7 @@ extern EnvironmentSensorManager sensors;
|
||||
#ifdef DISPLAY_CLASS
|
||||
extern DISPLAY_CLASS display;
|
||||
extern MomentaryButton user_btn;
|
||||
extern UITask ui_task;
|
||||
#endif
|
||||
|
||||
bool radio_init();
|
||||
|
||||
Reference in new issue
Block a user