]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwmled.c: I only have one 350mA spot LED now in production mode
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 28 Mar 2013 22:40:33 +0000 (23:40 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 28 Mar 2013 22:40:33 +0000 (23:40 +0100)
firmware/pwmled.c

index 99650d00460aeff816954cb66ff13da2e1c86f48..7be95e15f2d79ca2a3dbbb7a7c4e69c17ec39c7a 100644 (file)
@@ -62,9 +62,9 @@ static uint16_t adc_vals[N_PWMLEDS*N_PWMLED_MODES] = {
 #else
        /* pwmled0 */
        MA_GAIN_TO_ADC( 100, 20),
-       MA_GAIN_TO_ADC( 300, 20),
-       MA_GAIN_TO_ADC( 700, 20),
-       MA_GAIN_TO_ADC( 800, 20),
+       MA_GAIN_TO_ADC( 150, 20),
+       MA_GAIN_TO_ADC( 200, 20),
+       MA_GAIN_TO_ADC( 350, 20),
        /* pwmled1 */
        MA_GAIN_TO_ADC(   5, 20),
        MA_GAIN_TO_ADC(  10, 20),