]> www.fi.muni.cz Git - bike-lights.git/commitdiff
ambient.c: adjustments for Yenya
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 12 Apr 2014 20:23:16 +0000 (22:23 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Sat, 12 Apr 2014 20:23:16 +0000 (22:23 +0200)
- move the border between evening and dawn to brighter area
- move the border between dawn and day to brighter area

firmware/ambient.c

index 37aaa772b6677d3134c63e23b8bdf7ca56441a04..c932320ff5a5517ade6572d9967ec407c124760b 100644 (file)
@@ -33,9 +33,9 @@ static ambient_zone_t ambient_zones[N_AMBIENT_ZONES] = {
        { 0x0324, 0xffff }, // day
 #else
        { 0x0000, 0x0250 }, // dark
-       { 0x0230, 0x02e0 }, // evening
-       { 0x02c0, 0x0302 }, // dawn
-       { 0x02fa, 0xffff }, // day
+       { 0x0230, 0x02e8 }, // evening
+       { 0x02d0, 0x0302 }, // dawn
+       { 0x02fc, 0xffff }, // day
 #endif
 };