stm32f3xx-hal
stm32f3xx-hal copied to clipboard
Make freeze() fallible
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.