klippy: Increase precision of reported statistics timestamp

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-01-10 12:29:52 -05:00
parent 46b6b4037d
commit b2885a53cb
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class Printer:
out.append(toolhead.stats(eventtime)) out.append(toolhead.stats(eventtime))
if self.mcu is not None: if self.mcu is not None:
out.append(self.mcu.stats(eventtime)) out.append(self.mcu.stats(eventtime))
logging.info("Stats %.0f: %s" % (eventtime, ' '.join(out))) logging.info("Stats %.1f: %s" % (eventtime, ' '.join(out)))
return eventtime + 1. return eventtime + 1.
def load_config(self): def load_config(self):
self.fileconfig = ConfigParser.RawConfigParser() self.fileconfig = ConfigParser.RawConfigParser()