* 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
@@ -85,7 +85,7 @@ board_upload.maximum_size = 712704
build_flags =
${ThinkNode_M1.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
@@ -105,7 +105,7 @@ build_src_filter = ${ThinkNode_M1.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_M1.lib_deps}
densaugeo/base64 @ ~1.4.0
@@ -120,7 +120,7 @@ board_upload.maximum_size = 712704
build_flags =
${ThinkNode_M1.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
@@ -135,7 +135,7 @@ build_src_filter = ${ThinkNode_M1.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_M1.lib_deps}
densaugeo/base64 @ ~1.4.0
+1
View File
@@ -20,6 +20,7 @@ ThinkNodeM1SensorManager sensors = ThinkNodeM1SensorManager(nmea);
DISPLAY_CLASS display;
MomentaryButton user_btn(PIN_USER_BTN, 1000, true);
MomentaryButton backlight_btn(BACKLIGHT_BTN, 1000, true);
UITask ui_task(&board, &display);
#endif
bool radio_init() {
+2
View File
@@ -11,6 +11,7 @@
#ifdef DISPLAY_CLASS
#include <helpers/ui/GxEPDDisplay.h>
#include <helpers/ui/MomentaryButton.h>
#include <UITask.h>
#endif
class ThinkNodeM1SensorManager : public SensorManager {
@@ -39,6 +40,7 @@ extern ThinkNodeM1SensorManager sensors;
extern DISPLAY_CLASS display;
extern MomentaryButton user_btn;
extern MomentaryButton backlight_btn;
extern UITask ui_task;
#endif
bool radio_init();