From accd3529556e8deb9a93ec620c7b336e9e12286b Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Fri, 14 Jun 2013 00:17:53 +0200 Subject: [PATCH] ambient.c: log maximum and drop instead of min and drop --- firmware/ambient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/ambient.c b/firmware/ambient.c index aeaa62a..00f5941 100644 --- a/firmware/ambient.c +++ b/firmware/ambient.c @@ -63,8 +63,8 @@ void ambient_log_min_max() if (ambient_log_offset >= 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; -- 2.39.3