From 71ebbf914fa1cf07e969bdf774a861a4d76d0b9a Mon Sep 17 00:00:00 2001 From: barthess Date: Tue, 12 Jul 2011 18:34:11 +0000 Subject: I2C. Comments cleanups. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3154 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/i2c_lld.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/os/hal/platforms/STM32/i2c_lld.c b/os/hal/platforms/STM32/i2c_lld.c index 1b36fde8f..594f833a1 100644 --- a/os/hal/platforms/STM32/i2c_lld.c +++ b/os/hal/platforms/STM32/i2c_lld.c @@ -154,8 +154,9 @@ void _i2c_ev7_master_rec_byte_qued(I2CDriver *i2cp){ break; case I2C_FLG_MASTER_RECEIVER: - /* some time in hi load cases possible to miss interrupt - * ??? TODO: really?*/ + /* Some times in hi load scenarions it is possible to "miss" interrupt + * because STM32 I2C has OR'ed interrupt sources. This case handle that + * scenario. */ if (i2cp->rxbytes > 3){ *rxBuffp = dp->DR; rxBuffp++; -- cgit v1.2.3