klipper/src/simulator
Kevin O'Connor 70068985a7 stepper: Introduce and use gpio_out_toggle_noirq()
The gpio_out_toggle() function in the sam3x8e and stm32f1 code was
only valid if it was called with irqs disabled.

Commits 018c5daa and 9c52ad43 enabled the lcd code which called
gpio_out_toggle() with irqs enabled.  This could cause corruption of
the gpio state.

Introduce a gpio_out_toggle_noirq() function that will only be invoked
with irqs disabled, and fix gpio_out_toggle() on sam3x8e and stm32f1
so that it safe to call even if irqs are enabled.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-05-15 17:09:11 -04:00
..
Kconfig build: Allow boards to disable digital input/output support 2017-07-20 10:44:31 -04:00
Makefile Makefile: Move listing of directories to create to board makefiles 2016-06-13 23:18:59 -04:00
gpio.c stepper: Introduce and use gpio_out_toggle_noirq() 2018-05-15 17:09:11 -04:00
main.c avr: Implement internal avr specific timer to handle 16bit overflows 2017-08-08 00:27:28 -04:00