Fixed extremely insidious error where my interrupts for the ADC and motor control would trigger on top of each other, and never return to main. Fixed by having the ADC temporarily pause the motor timer while it measures, which prevents its interrupt from occuring