aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-23 20:18:58 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-23 20:18:58 +0000
commitd2b62026fc589cb36955d173417c0741edea4b4a (patch)
treeea53287f7525d20a0b46ab41e6271b76a9ed8ac2 /os
parent429c031bcb61267a0f20969c5a66eceeefbbb68b (diff)
downloadChibiOS-d2b62026fc589cb36955d173417c0741edea4b4a.tar.gz
ChibiOS-d2b62026fc589cb36955d173417c0741edea4b4a.tar.bz2
ChibiOS-d2b62026fc589cb36955d173417c0741edea4b4a.zip
I2C. Small comment added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3076 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.c b/os/hal/platforms/STM32/i2c_lld.c
index 1dc58e8e6..0bc113313 100644
--- a/os/hal/platforms/STM32/i2c_lld.c
+++ b/os/hal/platforms/STM32/i2c_lld.c
@@ -42,6 +42,7 @@ static uint32_t i2c_get_event(I2CDriver *i2cp){
}
static void i2c_serve_event_interrupt(I2CDriver *i2cp) {
+/* defines for convenience purpose*/
#define txBuffp (i2cp->txbuff_p)
#define rxBuffp (i2cp->rxbuff_p)