samples: nrf52: power_mgr: use dts-generated defines
This commit updates the power_mgr sample to use the dts-generated defines instead of the aliases in board.h. Signed-off-by: Emanuele Di Santo <emdi@nordicsemi.no>
This commit is contained in:
parent
0a15793830
commit
ea4f8b7d6c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
#define GPIO_CFG_SENSE_LOW (GPIO_PIN_CNF_SENSE_Low << GPIO_PIN_CNF_SENSE_Pos)
|
||||
|
||||
/* change this to use another GPIO port */
|
||||
#define PORT SW0_GPIO_NAME
|
||||
#define PORT SW0_GPIO_CONTROLLER
|
||||
#define BUTTON_1 SW0_GPIO_PIN
|
||||
#define BUTTON_2 SW1_GPIO_PIN
|
||||
#define LOW 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue