]> www.fi.muni.cz Git - bike-lights.git/commitdiff
ambient zones adjusted
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 6 Mar 2013 15:05:10 +0000 (16:05 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 6 Mar 2013 15:05:10 +0000 (16:05 +0100)
firmware/ambient.c

index f6e8ae5f5be088eba62d2efc6533b495e5a254bd..143ffc49e1bf98d8ad5c5ae42566aac38c907e52 100644 (file)
@@ -15,10 +15,10 @@ typedef struct {
  * and having small overlaps in order to provide a bit of hysteresis.
  */
 static ambient_zone_t ambient_zones[] = {
-       { 0x0000, 0xb000 }, // dark
-       { 0xa800, 0xc700 },
-       { 0xc600, 0xcb00 },
-       { 0xca80, 0xffff }
+       { 0x0000, 0xa400 }, // dark
+       { 0xa000, 0xc000 },
+       { 0xbe00, 0xc800 },
+       { 0xc600, 0xffff }
 };
 #define N_AMBIENT_ZONES (sizeof(ambient_zones)/sizeof(ambient_zones[0]))