Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion variants/gat562_mesh_watch13/GAT56MeshWatch13Board.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class GAT56MeshWatch13Board : public NRF52BoardDCDC {


void powerOff() override {
uint32_t button_pin = PIN_BUTTON2;
uint32_t button_pin = PIN_BUTTON1;
nrf_gpio_cfg_input(button_pin, NRF_GPIO_PIN_PULLUP);
nrf_gpio_cfg_sense_set(button_pin, NRF_GPIO_PIN_SENSE_LOW);
sd_power_system_off();
Expand Down
3 changes: 1 addition & 2 deletions variants/gat562_mesh_watch13/target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
1 change: 0 additions & 1 deletion variants/gat562_mesh_watch13/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading