]> www.fi.muni.cz Git - bike-lights.git/commitdiff
higher limit for pwm max
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 30 Sep 2012 20:10:46 +0000 (22:10 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sun, 30 Sep 2012 20:10:46 +0000 (22:10 +0200)
firmware/pwmled.c

index 06c6b1127a96a6ce4e42af3ed66f68206419e0d9..5ddb783b6c3762a8a268d3495670a65e783610bf 100644 (file)
@@ -3,7 +3,7 @@
 #include "lights.h"
 
 static uint16_t pwm_vals[N_PWMLEDS*N_PWMLED_MODES];
-static uint16_t pwm_max[N_PWMLEDS] = { 0x70, 0x70, 0xF0 };
+static uint16_t pwm_max[N_PWMLEDS] = { 0x70, 0x70, 0x1F0 };
 static uint16_t adc_max[N_PWMLEDS] = { 0x70, 0x70, 0xF0 };
 static uint16_t adc_vals[N_PWMLEDS*N_PWMLED_MODES] = {
        /* pwmled0 */