]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/ambient.c
ambient zone adjustments
[bike-lights.git] / firmware / ambient.c
index b8397532026fed989d06ff6454974be46e043850..aeaa62ac8e5436bf13b3fa4c315078c87e1fd0e0 100644 (file)
@@ -24,8 +24,8 @@ typedef struct {
  * and having small overlaps in order to provide a bit of hysteresis.
  */
 static ambient_zone_t ambient_zones[] = {
-       { 0x0000                   , 0x0280<<AMBIENT_VAL_SHIFT }, // dark
-       { 0x0270<<AMBIENT_VAL_SHIFT, 0x02f0<<AMBIENT_VAL_SHIFT }, // evening
+       { 0x0000                   , 0x0270<<AMBIENT_VAL_SHIFT }, // dark
+       { 0x0260<<AMBIENT_VAL_SHIFT, 0x02f0<<AMBIENT_VAL_SHIFT }, // evening
        { 0x02e8<<AMBIENT_VAL_SHIFT, 0x0306<<AMBIENT_VAL_SHIFT }, // dawn
        { 0x0300<<AMBIENT_VAL_SHIFT, 0xffff                    }, // day
 };