stfc-aeg / odin-lpdpower

Prototype of ODIN framework
0 stars 0 forks source link

Make adapter run when display absent #13

Closed timcnicholls closed 7 years ago

timcnicholls commented 7 years ago

Due to USB power issues, sometimes the PSCU boots without correctly initialising the USB driver for the LCD display module. The adapter then throws an untrapped exception attempting to open the device file (/dev/ttyACM0). Need to make the adapter:

a) handle the exception gracefully and then disable attempts to write to it b) set a flag accessible as a parameter indicating that the display is not running