hoverboard-firmware-hack-FOC
hoverboard-firmware-hack-FOC copied to clipboard
Update interrupt priorities so ADC can not get preempted
After running my vehicles with this change for quite a while now, I am confident in saying that this has fixed an issue that would cause random MOSFET shorts. I suspect that the overcurrent detection interrupt was just a tiny bit too slow because it was preempted. This commit fixes that.