From 98f8b1bd88da4280eac4b1ebfc7000eac820407e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 12 Sep 2012 17:01:10 -0400 Subject: [PATCH] config: TemperatureConfig's max-current should be a FloatSetting. I imagine it was just sloppy coding that had it as an IntegerSetting. --- pyafm/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.26.2