From 74f0c88df9e1367c5decf3a1ac87b2ef2d6c4ac3 Mon Sep 17 00:00:00 2001 From: jbernardis Date: Sun, 25 Jan 2015 20:17:32 -0500 Subject: [PATCH] Configtool: added REPORT_TARGET_TEMPS ... ... in anticipation of it's being adopted. This also nicely shows how simple it is to add (or remove) a configurable option to the config tool. --- configtool/miscellaneouspage.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configtool/miscellaneouspage.py b/configtool/miscellaneouspage.py index 5ac873a..1757258 100644 --- a/configtool/miscellaneouspage.py +++ b/configtool/miscellaneouspage.py @@ -18,6 +18,7 @@ class MiscellaneousPage(wx.Panel, Page): 'BANG_BANG': "Enable", 'BANG_BANG_ON': "On PWM Level:", 'BANG_BANG_OFF': "Off PWM Level:", + 'REPORT_TARGET_TEMPS': "Report Target Temperatures", 'MOVEBUFFER_SIZE': "Movebuffer Size:", 'DC_EXTRUDER': "Heater:", 'DC_EXTRUDER_PWM': "PWM:", 'USE_WATCHDOG': "Use the Watchdog Timer", @@ -84,6 +85,10 @@ class MiscellaneousPage(wx.Panel, Page): cb = self.addCheckBox(k, self.onCheckBox) sz.Add(cb, pos = (7, 1)) + k = 'REPORT_TARGET_TEMPS' + cb = self.addCheckBox(k, self.onCheckBox) + sz.Add(cb, pos = (8, 1)) + k = 'REFERENCE' ch = self.addChoice(k, self.references, self.references.index(self.defaultRef),