adc.c: make the ADC handlers non-atomic