]> jspc29.x-matter.uni-frankfurt.de Git - avr.git/commitdiff
Pt100: reset time variable if reloading config
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Thu, 1 Jun 2017 13:37:36 +0000 (15:37 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Thu, 1 Jun 2017 13:37:44 +0000 (15:37 +0200)
pt100/main.c

index b485fb3600225a5379e0aa6f4d47d415d893aad6..70e84f137d974a06a71e7b1f6c011732db0046af 100644 (file)
@@ -44,6 +44,7 @@ void read_calib() {
   calib_settings.period         = eeprom_read(10);
   calib_settings.uselcd         = eeprom_read(11);
   calib_settings.average        = eeprom_read(12);
+  time = 0;
   }
 
 /******************