Update test_adc.c

Pasted back the missing code.