EmbeddedNim / svd2nim

Convert CMSIS ARM SVD files to nim register memory mappings
MIT License
19 stars 2 forks source link

Ensure file close using defer #13

Open dwhall opened 2 months ago

dwhall commented 2 months ago

This ensures the file closes in the event of a CatchableError