Change adc.c so that it should work with the number of ADC modules set in Parameters.c/config.cfg