Skip to content

Commit

Permalink
arch/arm/src/amebasmart/amebasmart_spi: Fix Wrong condition check
Browse files Browse the repository at this point in the history
Fix wrong confition check of CONFIG_AMEBASMART_SPI0 to CONFIG_AMEBASMART_SPI1

Signed-off-by: eunwoo.nam <[email protected]>
  • Loading branch information
ewoodev authored and sunghan-chang committed Nov 9, 2024
1 parent 877a805 commit 47af572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/arch/arm/src/amebasmart/amebasmart_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ static uint32_t rtk_spi_resume(uint32_t expected_idle_time, void *param)
#ifdef CONFIG_AMEBASMART_SPI0
(void) up_spiinitialize(0);
#endif
#ifdef CONFIG_AMEBASMART_SPI0
#ifdef CONFIG_AMEBASMART_SPI1
(void) up_spiinitialize(1);
#endif
return 1;
Expand Down

0 comments on commit 47af572

Please sign in to comment.