aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2c_lld.c
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-17 19:08:16 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-17 19:08:16 +0000
commite062d102509b81aed745ca0367fa0053495b8761 (patch)
treeb4e2e924612820f2071c02859b5b52a323f6f587 /os/hal/platforms/STM32/i2c_lld.c
parent843b44675be048abf04541be2fa00242384dfc01 (diff)
downloadChibiOS-e062d102509b81aed745ca0367fa0053495b8761.tar.gz
ChibiOS-e062d102509b81aed745ca0367fa0053495b8761.tar.bz2
ChibiOS-e062d102509b81aed745ca0367fa0053495b8761.zip
Cleaned "//" comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3628 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/i2c_lld.c')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.c b/os/hal/platforms/STM32/i2c_lld.c
index cd040b6d1..a7e89c61e 100644
--- a/os/hal/platforms/STM32/i2c_lld.c
+++ b/os/hal/platforms/STM32/i2c_lld.c
@@ -508,7 +508,7 @@ void i2c_lld_master_receive(I2CDriver *i2cp, uint8_t slave_addr,
i2cp->errors = 0;
mode = STM32_DMA_CR_DIR_P2M;
- // TODO: DMA error handling
+ /* TODO: DMA error handling */
dmaStreamSetMemory0(i2cp->dmarx, rxbuf);
dmaStreamSetTransactionSize(i2cp->dmarx, rxbytes);
dmaStreamSetMode(i2cp->dmarx, ((i2cp->dmamode) | mode));
@@ -553,7 +553,7 @@ void i2c_lld_master_transmit(I2CDriver *i2cp, uint8_t slave_addr,
i2cp->errors = 0;
mode = STM32_DMA_CR_DIR_M2P;
- // TODO: DMA error handling
+ /* TODO: DMA error handling */
dmaStreamSetMemory0(i2cp->dmatx, txbuf);
dmaStreamSetTransactionSize(i2cp->dmatx, txbytes);
dmaStreamSetMode(i2cp->dmatx, ((i2cp->dmamode) | mode));