deadlock in pycardium application when pressing "power" during serial console connection
In branch rahix/menu [fff32931]:
Normally, menu.py starts by pressing the "power" button. However, this does not work while connected to a serial console.
Starting the card10 with a main.py this gets executed at startup. Normally one can connect via a serial console to card10 and then terminate the running main.py (Ctrl-C). When exiting the serial consonle (Ctrl-D) the main.py gets executed again.
However, by pressing the power button while the serial console is connected leads to a deadlock in all of the three situations:
- serial console has the "focus"
- main.py is active
- menu.py is active