changeset 493:b8012dcb714b

increase curvecalc update frequency 50ms to 20ms Ignore-this: 15b3ef4d685a0cb8ddba3cca384438c2
author drewp@bigasterisk.com
date Sat, 13 Jun 2009 21:21:15 +0000
parents 8707b063876b
children 5c193a81e1c3
files bin/curvecalc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/curvecalc	Sat Jun 13 21:21:00 2009 +0000
+++ b/bin/curvecalc	Sat Jun 13 21:21:15 2009 +0000
@@ -252,7 +252,7 @@
         if self.later and not self.later.cancelled and not self.later.called:
             self.later.cancel()
 
-        self.later = reactor.callLater(.05, self.update)
+        self.later = reactor.callLater(.02, self.update)
 
         self.recent_t = self.recent_t[-50:]+[t]
         period = (self.recent_t[-1] - self.recent_t[0]) / len(self.recent_t)