Skip to content

Commit 4cfa795

Browse files
author
m19936
committed
Fixed a bug where PD2 (SW0) interrupt was disabled during sleep
1 parent baf491f commit 4cfa795

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/low_power.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
#include "low_power.h"
12
#include "led_ctrl.h"
23
#include "log.h"
3-
#include "low_power.h"
44
#include "lte.h"
55
#include "sequans_controller.h"
66

@@ -360,8 +360,6 @@ static void powerDownPeripherals(void) {
360360
PIN_DIR_INPUT | PIN_PULLUP_ON | PIN_INPUT_DISABLE);
361361
pinConfigure(DEBUGGER_LED_PIN,
362362
PIN_DIR_INPUT | PIN_PULLUP_ON | PIN_INPUT_DISABLE);
363-
pinConfigure(DEBUGGER_SW0_PIN,
364-
PIN_DIR_INPUT | PIN_PULLUP_ON | PIN_INPUT_DISABLE);
365363
}
366364

367365
static void powerUpPeripherals(void) {

0 commit comments

Comments
 (0)