mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
Otherwise mp_interrupt_char will have a value of zero on start up (because it's in the BSS) and a KeyboardInterrupt may be raised during start up. For example this can occur if there is a UART attached to the REPL which sends spurious null bytes when the device turns on.