This is an automated email from the ASF dual-hosted git repository. simbit18 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 0a85466a46ca0dd264a0235161d73dd17b91540d Author: Junbo Zheng <[email protected]> AuthorDate: Sat Oct 31 23:36:33 2026 +0800 boards/arm/nrf91/thingy91: fix lowercase CONFIG_nrf91_SPI2_MASTER Kconfig defines the symbol uppercase but nrf91_spi.c uses the lowercase form, so the #ifdef is always false and the SPI2 master board hooks (spi2select, spi2status) never compile when a user enables CONFIG_NRF91_SPI2_MASTER=y. Kconfig: arch/arm/src/nrf91/Kconfig:151 config NRF91_SPI2_MASTER Before: #ifdef CONFIG_nrf91_SPI2_MASTER (src/nrf91_spi.c:180) After: #ifdef CONFIG_NRF91_SPI2_MASTER Signed-off-by: Junbo Zheng <[email protected]> --- boards/arm/nrf91/thingy91/src/nrf91_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/nrf91/thingy91/src/nrf91_spi.c b/boards/arm/nrf91/thingy91/src/nrf91_spi.c index 420b19d6ec9..c0956588a2e 100644 --- a/boards/arm/nrf91/thingy91/src/nrf91_spi.c +++ b/boards/arm/nrf91/thingy91/src/nrf91_spi.c @@ -177,7 +177,7 @@ uint8_t nrf91_spi1status(struct spi_dev_s *dev, uint32_t devid) } #endif -#ifdef CONFIG_nrf91_SPI2_MASTER +#ifdef CONFIG_NRF91_SPI2_MASTER void nrf91_spi2select(struct spi_dev_s *dev, uint32_t devid, bool selected) {
