stm32f3xx-hal icon indicating copy to clipboard operation
stm32f3xx-hal copied to clipboard

Make freeze() fallible

Open Sh3Rm4n opened this issue 5 years ago • 0 comments

As mentioned in #151 it is not optimal, that freeze() can panic on so many occasions.

I removed all asserts with returning a custom error code. Bikeshedding on the error codes appreciated.

Maybe I have to refactor the code a little bit more to make it nicer.

Sh3Rm4n avatar Oct 14 '20 18:10 Sh3Rm4n