mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
double press top button to go back on gat562 mesh watch
This commit is contained in:
parent
1a897a3b5f
commit
b37201db89
2 changed files with 1 additions and 3 deletions
|
|
@ -11,8 +11,7 @@ GAT56MeshWatch13Board board;
|
||||||
|
|
||||||
#ifdef DISPLAY_CLASS
|
#ifdef DISPLAY_CLASS
|
||||||
DISPLAY_CLASS display;
|
DISPLAY_CLASS display;
|
||||||
MomentaryButton user_btn(PIN_USER_BTN, 1000, true, false, false);
|
MomentaryButton user_btn(PIN_USER_BTN, 1000, true, false, true);
|
||||||
MomentaryButton back_btn(PIN_BACK_BTN, 1000, true, false, true);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
extern DISPLAY_CLASS display;
|
extern DISPLAY_CLASS display;
|
||||||
#include <helpers/ui/MomentaryButton.h>
|
#include <helpers/ui/MomentaryButton.h>
|
||||||
extern MomentaryButton user_btn;
|
extern MomentaryButton user_btn;
|
||||||
extern MomentaryButton back_btn;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PIN_VIBRATION
|
#ifdef PIN_VIBRATION
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue