Tiva SSI: Fix oversight in last commit. Would only fixe the case where the single SSI enabled was SSI0

This commit is contained in:
Gregory Nutt 2014-12-28 16:58:36 -06:00
parent 788541aecf
commit 9d2311e4a2

View File

@ -143,13 +143,13 @@
# if defined(CONFIG_TIVA_SSI0)
# define SSI_BASE TIVA_SSI0_BASE
# define SSI_IRQ TIVA_IRQ_SSI0
# elif defined(CONFIG_TIVA_SSI0)
# elif defined(CONFIG_TIVA_SSI1)
# define SSI_BASE TIVA_SSI1_BASE
# define SSI_IRQ TIVA_IRQ_SSI1
# elif defined(CONFIG_TIVA_SSI0)
# elif defined(CONFIG_TIVA_SSI2)
# define SSI_BASE TIVA_SSI2_BASE
# define SSI_IRQ TIVA_IRQ_SSI2
# elif defined(CONFIG_TIVA_SSI0)
# elif defined(CONFIG_TIVA_SSI3)
# define SSI_BASE TIVA_SSI3_BASE
# define SSI_IRQ TIVA_IRQ_SSI3
# else