Incorporate comments - Change config name to nrfmicro specific

This commit is contained in:
Mega Mind 2020-08-23 12:59:39 +08:00
parent 7aea57328c
commit bc023baa7d
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -32,7 +32,7 @@ config PINMUX
if BOARD_NRFMICRO_13
config BOARD_ENABLE_CHARGER
config BOARD_NRFMICRO_CHARGER
default y
endif # BOARD_NRFMICRO_13

View File

@ -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