FlightControl-User / x16-flash

Contains the source code of the commander x16 rom flashing utility
GNU General Public License v3.0
4 stars 2 forks source link

When a rom[n].bin file is abscent, avoid the red flashing light (drive error) #6

Closed FlightControl-User closed 1 year ago

FlightControl-User commented 1 year ago

This confuses users and it will create confusion. So i need to make the drive light green if the file is not found. It is a small but tedious fix that i really need to spend some dedicated time on (it involves checking the error codes using channel 15)...

FlightControl-User commented 1 year ago

Fixed by adding the POSIX function ferror() to kickc. the fopen function calls the ferror function in case there is no file found. The blinking red light is resolved through this change.