* lotsa super boring refactoring

This commit is contained in:
Scott Powell committed 2026-11-19 15:22:23 +11:00
1 parent 98f9e81681
commit ce02d5a787
212 files changed
+693 -365

No files matched your search

+4 -4
View File
@@ -91,7 +91,7 @@ board_upload.maximum_size = 712704
build_flags =
${ThinkNode_M8.build_flags}
-I src/helpers/ui
-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
@@ -112,7 +112,7 @@ build_src_filter = ${ThinkNode_M8.build_src_filter}
+<helpers/ui/MomentaryButton.cpp>
+<helpers/ui/RotaryInputGPIO.cpp>
+<../examples/companion_radio/*.cpp>
+<../examples/companion_radio/ui-new/*.cpp>
+<helpers/ui/companion-new>
lib_deps =
${ThinkNode_M8.lib_deps}
densaugeo/base64 @ ~1.4.0
@@ -127,7 +127,7 @@ board_upload.maximum_size = 712704
build_flags =
${ThinkNode_M8.build_flags}
-I src/helpers/ui
-I examples/companion_radio/ui-new
-I src/helpers/ui/companion-new
-D MAX_CONTACTS=350
-D MAX_GROUP_CHANNELS=40
-D DISPLAY_ROTATION=4
@@ -143,7 +143,7 @@ build_src_filter = ${ThinkNode_M8.build_src_filter}
+<helpers/ui/MomentaryButton.cpp>
+<helpers/ui/RotaryInputGPIO.cpp>
+<../examples/companion_radio/*.cpp>
+<../examples/companion_radio/ui-new/*.cpp>
+<helpers/ui/companion-new>
lib_deps =
${ThinkNode_M8.lib_deps}
densaugeo/base64 @ ~1.4.0
+1
View File
@@ -25,6 +25,7 @@ EnvironmentSensorManager sensors = EnvironmentSensorManager();
MomentaryButton user_btn(PIN_USER_BTN, 1000, true);
RotaryInputGPIO rotary_input(PIN_BUTTON1_A, PIN_BUTTON1_B);
MomentaryButton backlight_btn(BACKLIGHT_BTN, 1000, true);
UITask ui_task(&board, &display);
#endif
bool radio_init() {
+2
View File
@@ -13,6 +13,7 @@
#include <helpers/ui/GxEPDDisplay.h>
#include <helpers/ui/RotaryInputGPIO.h>
#include <helpers/ui/MomentaryButton.h>
#include <UITask.h>
#endif
extern ThinkNodeM8Board board;
@@ -25,6 +26,7 @@ extern EnvironmentSensorManager sensors;
extern MomentaryButton user_btn;
extern MomentaryButton backlight_btn;
extern RotaryInputGPIO rotary_input;
extern UITask ui_task;
#endif
bool radio_init();