* and having small overlaps in order to provide a bit of hysteresis.
*/
static ambient_zone_t ambient_zones[N_AMBIENT_ZONES] = {
- { 0x0000 , 0x0270<<AMBIENT_VAL_SHIFT }, // dark
- { 0x0260<<AMBIENT_VAL_SHIFT, 0x02e0<<AMBIENT_VAL_SHIFT }, // evening
- { 0x02d0<<AMBIENT_VAL_SHIFT, 0x0306<<AMBIENT_VAL_SHIFT }, // dawn
- { 0x0300<<AMBIENT_VAL_SHIFT, 0xffff }, // day
+ { 0x0000 , 0x0250<<AMBIENT_VAL_SHIFT }, // dark
+ { 0x0240<<AMBIENT_VAL_SHIFT, 0x02e0<<AMBIENT_VAL_SHIFT }, // evening
+ { 0x02c0<<AMBIENT_VAL_SHIFT, 0x0306<<AMBIENT_VAL_SHIFT }, // dawn
+ { 0x02f8<<AMBIENT_VAL_SHIFT, 0xffff }, // day
};
void init_ambient()