diff py/tempserver.py @ 442:02318c9660cd

copied fridge logic from main.c
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Nov 2012 22:03:10 +0800
parents 31ac84425a2d
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()