From: W. Trevor King Date: Wed, 12 Sep 2012 21:01:10 +0000 (-0400) Subject: config: TemperatureConfig's max-current should be a FloatSetting. X-Git-Tag: v0.5~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98f8b1bd88da4280eac4b1ebfc7000eac820407e;p=pyafm.git config: TemperatureConfig's max-current should be a FloatSetting. I imagine it was just sloppy coding that had it as an IntegerSetting. --- diff --git a/pyafm/config.py b/pyafm/config.py index 5c72396..483a0fa 100644 --- a/pyafm/config.py +++ b/pyafm/config.py @@ -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),