Преглед изворни кода

double press top button to go back on gat562 mesh watch

liamcottle пре 4 месеци
родитељ
комит
b37201db89
2 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 2
      variants/gat562_mesh_watch13/target.cpp
  2. 0 1
      variants/gat562_mesh_watch13/target.h

+ 1 - 2
variants/gat562_mesh_watch13/target.cpp

@@ -11,8 +11,7 @@ GAT56MeshWatch13Board board;
 
 #ifdef DISPLAY_CLASS
   DISPLAY_CLASS display;
-  MomentaryButton user_btn(PIN_USER_BTN, 1000, true, false, false);
-  MomentaryButton back_btn(PIN_BACK_BTN, 1000, true, false, true);
+  MomentaryButton user_btn(PIN_USER_BTN, 1000, true, false, true);
 #endif
 
 

+ 0 - 1
variants/gat562_mesh_watch13/target.h

@@ -13,7 +13,6 @@
   extern DISPLAY_CLASS display;
   #include <helpers/ui/MomentaryButton.h>
   extern MomentaryButton user_btn;
-  extern MomentaryButton back_btn;
 #endif
 
 #ifdef PIN_VIBRATION