diff py/tempserver.py @ 143:0895f5ad7731

copied fridge logic from main.c
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Nov 2012 22:03:10 +0800
parents 4755e6f9a5b8
children 482d7852b511
line wrap: on
line diff
--- a/py/tempserver.py	Mon Nov 19 22:46:45 2012 +0800
+++ b/py/tempserver.py	Tue Nov 20 22:03:10 2012 +0800
@@ -37,9 +37,6 @@
     def set_current(self, wort, fridge, ambient):
         current = (wort, fridge, ambient)
 
-    def uptime(self):
-        return utils.monotonic_time() - self.start_time()
-
     def now(self):
         return utils.monotonic_time()