Skip to content

Commit

Permalink
wip: fix missing s and wrong init priority naming
Browse files Browse the repository at this point in the history
  • Loading branch information
everedero committed Nov 11, 2023
1 parent 77b2bf8 commit 0daad13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/nrf24l01/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module = NRF24L01
module-str = nrf24l01
source "subsys/logging/Kconfig.template.log_config"

config NRF24_INIT_PRIORITY
config NRF24L01_INIT_PRIORITY
int "Lock init priority"
default 90
help
Expand Down
4 changes: 2 additions & 2 deletions drivers/nrf24l01/nrf24l01.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ static int nrf24l01_init(const struct device *dev)
#define NRF24L01_DEFINE(i) \
static const struct nrf24l01_config nrf24l01_config_##i = { \
.spi = DEVICE_DT_GET(DT_INST_BUS(i)), \
.ce = GPIO_DT_SPEC_INST_GET(i, ce_gpio), \
.irq = GPIO_DT_SPEC_INST_GET(i, irq_gpio), \
.ce = GPIO_DT_SPEC_INST_GET(i, ce_gpios), \
.irq = GPIO_DT_SPEC_INST_GET(i, irq_gpios), \
}; \
\
static struct nrf24l01_data nrf24l01_##i = { \
Expand Down

0 comments on commit 0daad13

Please sign in to comment.