Severson-Group / AMDC-Firmware

Embedded system code (C and Verilog) which runs the AMDC Hardware
http://docs.amdc.dev/firmware
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

AMDC_Logger has no error for invalid mapfile #292

Closed npetersen2 closed 1 year ago

npetersen2 commented 1 year ago

If find_mapfile() cannot find a mapfile, it returns None.

If None is passed into the AMDC_Logger constructor, no error is given. The logger cannot work without a mapfile, so this is invalid behavior.

TODO

Tell user an error occurred if None goes into the AMDC_Logger.

npetersen2 commented 1 year ago

Closed via #291