]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwmled reduce more logging
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 29 Aug 2012 23:57:28 +0000 (01:57 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 31 Aug 2012 21:08:11 +0000 (23:08 +0200)
pwmled.c

index 88700271a6bc96ef175f02c891ed9b3ecf3a64ce..2640dba05bfc05edcd0c1d0f5e02f5c907919922 100644 (file)
--- a/pwmled.c
+++ b/pwmled.c
@@ -203,8 +203,10 @@ static void inline on_adc(unsigned char n, uint16_t adcval)
        if (new_pwm != old_pwm) {
                *pwm_p = new_pwm;
                pwm_set(n, new_pwm);
+#if 0
                log_byte(0xF9);
                log_byte(new_pwm);
+#endif
        }
 }