projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix i2c driver to use correctly the stm32 i2c implementation.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
hw
/
init_cm3.c
diff --git
a/bertos/cpu/cortex-m3/hw/init_cm3.c
b/bertos/cpu/cortex-m3/hw/init_cm3.c
index 079f08a31728acfd35feff4b0f11a8a895b3792d..8415cbfb089083d224b7231e13dec3e88ca0caae 100644
(file)
--- a/
bertos/cpu/cortex-m3/hw/init_cm3.c
+++ b/
bertos/cpu/cortex-m3/hw/init_cm3.c
@@
-93,7
+93,7
@@
void __init2(void)
/* Initialize IRQ vector table in RAM */
sysirq_init();
-#if
CONFIG_KERN_PREEMPT
+#if
(CONFIG_KERN && CONFIG_KERN_PREEMPT)
/*
* Voluntary context switch handler.
*