]> www.fi.muni.cz Git - tinyboard.git/blobdiff - projects/step-up/adc.c
pwmled.c: only one pwmled
[tinyboard.git] / projects / step-up / adc.c
index 9daf99158ad26aa9391d24f3731409624c2cc9f4..6309c41abae65ed0604bdbfa452051f77be35915 100644 (file)
@@ -202,8 +202,7 @@ ISR(ADC_vect) { // IRQ handler
        switch (current_adc) {
        case 0:
                // pwmled_adc(current_adc, adc_sum);
-               log_word(0x9000+adc_sum);
-               return;
+               pwmled_adc(adc_sum);
                break;
        }