]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/ambient.c
firmware: control logic moved to a separate module
[bike-lights.git] / firmware / ambient.c
index f6f52202f35a5738a60e7a70d1308539618cf399..025b0c4bd6dcb6839395a36f91a8fedd4dc97e73 100644 (file)
@@ -24,6 +24,8 @@ void ambient_zone_changed()
        log_byte(ambient_zone);
        log_word(ambient_val);
        log_flush();
+
+       pattern_reload();
 }
 
 void ambient_adc(uint16_t adcval)