diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-25 11:11:08 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-25 11:11:08 +0000 |
commit | 4a2b2769363a3ec43a31e3c96ac303d241f3fc5d (patch) | |
tree | b544c1bf031143e1bcc1c9d5680e38208f5098af /os/hal/platforms/SPC5xx/DSPI_v1 | |
parent | 814bc9e8e7f4593490f9e2e6175ad69e29e682ab (diff) | |
download | ChibiOS-4a2b2769363a3ec43a31e3c96ac303d241f3fc5d.tar.gz ChibiOS-4a2b2769363a3ec43a31e3c96ac303d241f3fc5d.tar.bz2 ChibiOS-4a2b2769363a3ec43a31e3c96ac303d241f3fc5d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5505 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC5xx/DSPI_v1')
-rw-r--r-- | os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c | 4 | ||||
-rw-r--r-- | os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c index ac5f3377b..738457ac6 100644 --- a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c +++ b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c @@ -40,9 +40,9 @@ /*===========================================================================*/
/**
- * @brief SPI1 driver identifier.
+ * @brief SPID1 driver identifier.
*/
-#if SPC5_SPI_USE_SPI1 || defined(__DOXYGEN__)
+#if SPC5_SPI_USE_DSPI1 || defined(__DOXYGEN__)
SPIDriver SPID1;
#endif
diff --git a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h index 128b1382f..1c61d8f03 100644 --- a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h +++ b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h @@ -132,7 +132,7 @@ struct SPIDriver { /* External declarations. */
/*===========================================================================*/
-#if SPC5_SPI_USE_SPI1 && !defined(__DOXYGEN__)
+#if SPC5_SPI_USE_DSPI1 && !defined(__DOXYGEN__)
extern SPIDriver SPID1;
#endif
|