Move state back into RAM
With this change I was able to remove most (if not all) of the weirdness (at the cost of additional 14 bytes of flash). I assume that cutting the power at the wrong time caused a specific state of the registers that led to wrong jumps in the optimized code.
Showing
Please register or sign in to comment