Spiri: Fixe some typos. One is critical since it is conditional compilation.
This commit is contained in:
parent
09bb6ff16b
commit
735095d040
@ -122,7 +122,7 @@ void weak_function stm32l4_spidev_initialize(void)
|
||||
/* Configure chip select GPIOs */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32L4_SPI2
|
||||
#ifdef CONFIG_STM32L4_SPI3
|
||||
/* Configure SPI-based devices */
|
||||
|
||||
g_spi3 = stm32l4_spibus_initialize(3);
|
||||
|
@ -1958,7 +1958,7 @@ int spirit_hw_initialize(FAR struct spirit_driver_s *priv,
|
||||
|
||||
/* Puts the SPIRIT1 in STANDBY mode (125us -> rx/tx) */
|
||||
|
||||
wlinfo("Go to STNDBY\n");
|
||||
wlinfo("Go to STANDBY\n");
|
||||
ret = spirit_command(spirit, CMD_STANDBY);
|
||||
if (ret < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user