aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2c_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-03 18:47:14 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-03 18:47:14 +0000
commit92a4c2939467a1146ac6757dcbffe7995edebc7c (patch)
treec9519ef493576148e3cb8c5569b6d8603b21c36d /os/hal/platforms/STM32/i2c_lld.c
parentb923d10f0e377094d8fbb4ac7aa8b6b9f4ac36b2 (diff)
downloadChibiOS-92a4c2939467a1146ac6757dcbffe7995edebc7c.tar.gz
ChibiOS-92a4c2939467a1146ac6757dcbffe7995edebc7c.tar.bz2
ChibiOS-92a4c2939467a1146ac6757dcbffe7995edebc7c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3720 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/i2c_lld.c')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.c b/os/hal/platforms/STM32/i2c_lld.c
index 9a7cf2873..44271f322 100644
--- a/os/hal/platforms/STM32/i2c_lld.c
+++ b/os/hal/platforms/STM32/i2c_lld.c
@@ -520,7 +520,7 @@ void i2c_lld_start(I2CDriver *i2cp) {
CORTEX_PRIORITY_MASK(STM32_I2C_I2C1_IRQ_PRIORITY));
i2cp->dmamode |= STM32_DMA_CR_CHSEL(I2C1_RX_DMA_CHANNEL) |
- STM32_DMA_CR_PL(STM32_I2C_I2C1_DMA_PRIORITY);
+ STM32_DMA_CR_PL(STM32_I2C_I2C1_DMA_PRIORITY);
}
#endif /* STM32_I2C_USE_I2C1 */