Explicitly disable UART IRQ on startup

parent ae742fff
......@@ -3415,6 +3415,12 @@ int kestrel_init(void)
hiomap_use_direct_access = 1;
allow_flash_write = 1;
#if (WITH_ZEPHYR)
// Make sure the UART interrupt is truly disabled
// Spurious UART IRQs have been observed without this!
irq_disable(UART_INTERRUPT);
#endif
gpio_init();
display_character('0', 0); // STATUS CODE: 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment