config: TemperatureConfig's max-current should be a FloatSetting.
authorW. Trevor King <wking@tremily.us>
Wed, 12 Sep 2012 21:01:10 +0000 (17:01 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 12 Sep 2012 21:01:10 +0000 (17:01 -0400)
I imagine it was just sloppy coding that had it as an IntegerSetting.

pyafm/config.py

index 5c72396f8810704d72386ec37f022b33596befa8..483a0fa3d1d3f49aff13e77a4ccd6a5fc6c5151b 100644 (file)
@@ -71,7 +71,7 @@ class TemperatureConfig (_config.Config):
             name='baudrate',
             help="Baud rate for which you've configured your controller.",
             default=9600),
-        _config.IntegerSetting(
+        _config.FloatSetting(
             name='max-current',
             help="Maxium current (in amps) output by the controller.",
             default=0),