Added support for new EnhancedUI MomentaryButton

for Heltec V2 and Faketec ProMicro variants
This commit is contained in:
MikesAllotment
2025-08-14 14:17:26 +01:00
parent e84e3066ff
commit d7c2293cb8
6 changed files with 15 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include <helpers/AutoDiscoverRTCClock.h>
#ifdef DISPLAY_CLASS
#include <helpers/ui/SSD1306Display.h>
#include <helpers/ui/MomentaryButton.h>
#endif
#include <helpers/sensors/EnvironmentSensorManager.h>
@@ -19,6 +20,7 @@ extern EnvironmentSensorManager sensors;
#ifdef DISPLAY_CLASS
extern DISPLAY_CLASS display;
extern MomentaryButton user_btn;
#endif
bool radio_init();