]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwmled.c: night rear light is too bright
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 21 Jul 2013 21:47:05 +0000 (23:47 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 21 Jul 2013 21:47:05 +0000 (23:47 +0200)
firmware/pwmled.c

index 3d35c8785aee0bf6ac49374634baf04aac26161e..dd01b966d0e557138c0a3413ae1c589520cc1967 100644 (file)
@@ -60,8 +60,8 @@ static uint16_t adc_max[N_PWMLEDS] = {
 
 static uint16_t adc_targets_0[] = {
        MA_GAIN_TO_ADC(  50, 20),
-       MA_GAIN_TO_ADC( 100, 20),
-       MA_GAIN_TO_ADC( 200, 20),
+       MA_GAIN_TO_ADC(  80, 20),
+       MA_GAIN_TO_ADC( 160, 20),
        MA_GAIN_TO_ADC( 350, 20),
 };