projects
/
pyafm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c1fcb8
)
config: TemperatureConfig's max-current should be a FloatSetting.
author
W. Trevor King
<wking@tremily.us>
Wed, 12 Sep 2012 21:01:10 +0000
(17:01 -0400)
committer
W. 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
patch
|
blob
|
history
diff --git
a/pyafm/config.py
b/pyafm/config.py
index 5c72396f8810704d72386ec37f022b33596befa8..483a0fa3d1d3f49aff13e77a4ccd6a5fc6c5151b 100644
(file)
--- 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.
Integer
Setting(
+ _config.
Float
Setting(
name='max-current',
help="Maxium current (in amps) output by the controller.",
default=0),