Git
Wiki
Site
projects
/
soft
/
lpc122x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b62b6d
)
Added comment for future FIXME
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Mon, 11 Mar 2013 16:22:37 +0000
(17:22 +0100)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000
(17:03 +0100)
drivers/i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c.c
b/drivers/i2c.c
index
98885c6
..
5e0f456
100644
(file)
--- 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) */
+ }
}
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !