Ifdef debug logging in adc driver