X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=firmware%2Fambient.c;h=4818ab4a8e7a63f596103dc92afca45386c664f0;hb=8865db8363413d05d188b50b0a10928cf119f68d;hp=aeaa62ac8e5436bf13b3fa4c315078c87e1fd0e0;hpb=b2e743a2225d5014c7e614ebc9feb7eb51bc4ef6;p=bike-lights.git diff --git a/firmware/ambient.c b/firmware/ambient.c index aeaa62a..4818ab4 100644 --- a/firmware/ambient.c +++ b/firmware/ambient.c @@ -25,9 +25,9 @@ typedef struct { */ static ambient_zone_t ambient_zones[] = { { 0x0000 , 0x0270<= AMBIENT_LOG_SIZE - 1) return; - eeprom_write_byte(&ambient_log[ambient_log_offset++], ambient_min); - // eeprom_write_byte(&ambient_log[ambient_log_offset++], ambient_max); + // eeprom_write_byte(&ambient_log[ambient_log_offset++], ambient_min); + eeprom_write_byte(&ambient_log[ambient_log_offset++], ambient_max); eeprom_write_byte(&ambient_log[ambient_log_offset++], ambient_16drop); ambient_min = 0xFF;