We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbfca0d commit 702770bCopy full SHA for 702770b
src/Braccio++.h
@@ -96,6 +96,9 @@ class BraccioClass
96
inline bool isJoystickPressed_DOWN() { return (digitalRead(BTN_DOWN) == LOW); }
97
inline bool isButtonPressed_ENTER() { return (digitalRead(BTN_ENTER) == LOW); }
98
99
+ inline void lvgl_lock () { _display_mtx.lock(); }
100
+ inline void lvgl_unlock() { _display_mtx.unlock(); }
101
+
102
static BraccioClass& get_default_instance() {
103
static BraccioClass dev;
104
return dev;
0 commit comments