From 1f28156058ed3af9e87afdc60d631ca5a47eb2cb Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Thu, 14 Mar 2013 19:07:02 +0100 Subject: [PATCH] adc: missing break statement oh well. --- firmware/adc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/adc.c b/firmware/adc.c index b82bc09..6db036a 100644 --- a/firmware/adc.c +++ b/firmware/adc.c @@ -43,6 +43,7 @@ static void inline setup_mux(unsigned char n) case 5: // gain stage offset: 1.1V, ADC1,1, gain 20 ADMUX = _BV(REFS1) | _BV(MUX3) | _BV(MUX2) | _BV(MUX0); sum_shift = 0; // 1 measurement + break; case 6: // buttons: 1.1V, ADC3, single-ended PORTA |= _BV(PA3); // +5V to the voltage splitter ADMUX = _BV(REFS1) | _BV(MUX1) | _BV(MUX0); -- 2.43.5