Fix COMP and ADC interrupt conflict for STM32L0

The STM32L0 uses the same interrupt for ADC and COMP, which creates
interference with the Zephyr ADC driver. Proper fix needed!
This commit is contained in:
Martin Jäger
2020-03-11 15:11:55 +01:00
parent 84f7a4afdd
commit 91d4ec4424
+4
View File
@@ -252,7 +252,11 @@ void load_out_init()
#endif
// analog comparator to detect short circuits and trigger immediate load switch-off
#ifdef __MBED__
// The STM32L0 uses the same interrupt for ADC and COMP, which creates interference with the
// Zephyr ADC driver that need still to be resolved
short_circuit_comp_init();
#endif
// enable charge pump for high-side switches (if existing)
load_cp_enable();