Incorporate comments - Change config name to nrfmicro specific
This commit is contained in:
parent
7aea57328c
commit
bc023baa7d
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ config BOARD_ENABLE_DCDC
|
|||
default y
|
||||
depends on (BOARD_NRFMICRO_11 || BOARD_NRFMICRO_11_FLIPPED || BOARD_NRFMICRO_13)
|
||||
|
||||
config BOARD_ENABLE_CHARGER
|
||||
config BOARD_NRFMICRO_CHARGER
|
||||
bool "Enable battery charger"
|
||||
default y
|
||||
depends on (BOARD_NRFMICRO_13)
|
||||
|
|
|
@ -32,7 +32,7 @@ config PINMUX
|
|||
|
||||
if BOARD_NRFMICRO_13
|
||||
|
||||
config BOARD_ENABLE_CHARGER
|
||||
config BOARD_NRFMICRO_CHARGER
|
||||
default y
|
||||
|
||||
endif # BOARD_NRFMICRO_13
|
||||
|
|
|
@ -23,7 +23,7 @@ static int pinmux_nrfmicro_init(struct device *port)
|
|||
gpio_pin_configure(p1, 9, GPIO_OUTPUT);
|
||||
gpio_pin_set(p1, 9, 0);
|
||||
|
||||
#if CONFIG_BOARD_ENABLE_CHARGER
|
||||
#if CONFIG_BOARD_NRFMICRO_CHARGER
|
||||
gpio_pin_configure(p0, 5, GPIO_OUTPUT);
|
||||
gpio_pin_set(p0, 5, 0);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue