From: Nathael Pajani Date: Mon, 11 Mar 2013 16:22:37 +0000 (+0100) Subject: Added comment for future FIXME X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=78f51349e047e66c4f6e5bbb5fac284b404bc331;p=soft%2Flpc122x%2Fcore Added comment for future FIXME --- diff --git a/drivers/i2c.c b/drivers/i2c.c index 98885c6..5e0f456 100644 --- a/drivers/i2c.c +++ b/drivers/i2c.c @@ -493,8 +493,10 @@ void i2c_off(void) /* Allow system to propagate main clock */ void i2c_clock_update(void) { - if (mod_i2c.clock) + if (mod_i2c.clock) { + /* FIXME : we should stop I2C transfers, disable I2C interrupts and stop I1C clock. */ i2c_clock_on(mod_i2c.clock); /* 6 is not a module num, nor system i2c (5) */ + } }