* refactored UITask from repeater/room/sensor to /helpers/ui/server
* added BaseUITask for common behaviours * ui_task now instantiated in one of the variant's target-*.cpp modules
This commit is contained in:
1 parent
f8476f94f2
commit
0b38bfd81a
20 files changed
+117
-363
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#include <Arduino.h>
|
||||
#include "target.h"
|
||||
|
||||
#ifdef DISPLAY_CLASS
|
||||
DISPLAY_CLASS display;
|
||||
MomentaryButton user_btn(PIN_USER_BTN, 1000, true);
|
||||
|
||||
UITask ui_task(board, display);
|
||||
#endif
|
||||
Reference in new issue
Block a user