]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwmled.c: current adjustments
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 18 Jul 2013 20:10:40 +0000 (22:10 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 18 Jul 2013 20:10:40 +0000 (22:10 +0200)
firmware/pwmled.c

index 82237dca936b6783c38c778b6e820277bd8742f6..7c4324c0170bb6b2fa6d56b60877a1e46feabee1 100644 (file)
@@ -57,17 +57,17 @@ static uint16_t adc_targets_1[] = {
 
 static uint16_t adc_targets_2[] = {
 #ifdef TESTING_FW
-       MA_GAIN_TO_ADC(  50,  1),
-       MA_GAIN_TO_ADC( 100,  1),
-       MA_GAIN_TO_ADC( 150,  1),
+       MA_GAIN_TO_ADC( 120,  1),
+       MA_GAIN_TO_ADC( 160,  1),
        MA_GAIN_TO_ADC( 240,  1),
-       MA_GAIN_TO_ADC( 350,  1),
+       MA_GAIN_TO_ADC( 320,  1),
+       MA_GAIN_TO_ADC( 460,  1),
 #else
        MA_GAIN_TO_ADC( 150,  1),
        MA_GAIN_TO_ADC( 300,  1),
        MA_GAIN_TO_ADC( 500,  1),
-       MA_GAIN_TO_ADC( 800,  1),
-       MA_GAIN_TO_ADC(1200,  1),
+       MA_GAIN_TO_ADC( 700,  1),
+       MA_GAIN_TO_ADC(1500,  1),
 #endif
 };