aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/platforms/STM32/spi_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-10 22:13:59 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-10 22:13:59 +0000
commit176444320c3c32bd35180ffcdbbda7be0cfd23bc (patch)
treeabdbcd42f2a02eff714fb0fbd3224e0cb6cc17dd /os/io/platforms/STM32/spi_lld.h
parente48e822aa8ec66fc9daac05e387ffb77d8f5c452 (diff)
downloadChibiOS-176444320c3c32bd35180ffcdbbda7be0cfd23bc.tar.gz
ChibiOS-176444320c3c32bd35180ffcdbbda7be0cfd23bc.tar.bz2
ChibiOS-176444320c3c32bd35180ffcdbbda7be0cfd23bc.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1281 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/platforms/STM32/spi_lld.h')
-rw-r--r--os/io/platforms/STM32/spi_lld.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/io/platforms/STM32/spi_lld.h b/os/io/platforms/STM32/spi_lld.h
index 54dcbfff3..a6041f060 100644
--- a/os/io/platforms/STM32/spi_lld.h
+++ b/os/io/platforms/STM32/spi_lld.h
@@ -186,8 +186,9 @@ extern "C" {
void spi_lld_select(SPIDriver *spip);
void spi_lld_unselect(SPIDriver *spip);
void spi_lld_ignore(SPIDriver *spip, size_t n);
- void spi_lld_exchange(SPIDriver *spip, size_t n, void *txbuf, void *rxbuf);
- void spi_lld_send(SPIDriver *spip, size_t n, void *txbuf);
+ void spi_lld_exchange(SPIDriver *spip, size_t n,
+ const void *txbuf, void *rxbuf);
+ void spi_lld_send(SPIDriver *spip, size_t n, const void *txbuf);
void spi_lld_receive(SPIDriver *spip, size_t n, void *rxbuf);
#ifdef __cplusplus
}