diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2018-03-16 22:16:57 +0100 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2018-03-16 22:16:57 +0100 |
commit | 708bb829ea4bfe945ada43047b9089768e065707 (patch) | |
tree | 5ead0c64b15796c31bca72f61ee2201c6cbdd321 | |
parent | 230c39fc141611ae608ca93e2d75c2f9cccc9def (diff) | |
download | ChibiOS-Contrib-708bb829ea4bfe945ada43047b9089768e065707.tar.gz ChibiOS-Contrib-708bb829ea4bfe945ada43047b9089768e065707.tar.bz2 ChibiOS-Contrib-708bb829ea4bfe945ada43047b9089768e065707.zip |
Fixed some more warnings
-rw-r--r-- | os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.c | 2 | ||||
-rw-r--r-- | os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.c b/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.c index 126959f..2255110 100644 --- a/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.c +++ b/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.c @@ -258,7 +258,7 @@ void spi_lld_start(SPIDriver *spip) nvicEnableVector(TIVA_SSI1_NUMBER, TIVA_SPI_SSI1_IRQ_PRIORITY); } #endif -#if TIVASPI_USE_SSI2 +#if TIVA_SPI_USE_SSI2 if (&SPID2 == spip) { bool b; b = udmaChannelAllocate(spip->dmarxnr); diff --git a/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.h b/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.h index 4dcf6db..c93c189 100644 --- a/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.h +++ b/os/hal/ports/TIVA/LLD/SSI/hal_spi_lld.h @@ -156,7 +156,7 @@ #error "Invalid IRQ priority assigned to SSI2" #endif -#if TM4C123x_SPI_USE_SSI3 && \ +#if TIVA_SPI_USE_SSI3 && \ !OSAL_IRQ_IS_VALID_PRIORITY(TIVA_SPI_SSI3_IRQ_PRIORITY) #error "Invalid IRQ priority assigned to SSI3" #endif |