Spiri: Fixe some typos. One is critical since it is conditional compilation.

This commit is contained in:
Gregory Nutt 2017-08-01 15:18:40 -06:00
parent 09bb6ff16b
commit 735095d040
2 changed files with 2 additions and 2 deletions

View File

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

View File

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