projects
/
pypiezo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de497a3
)
Set the default ChannelConfig range index to 0.
author
W. Trevor King
<wking@drexel.edu>
Thu, 15 Mar 2012 15:08:51 +0000
(11:08 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 15 Mar 2012 15:08:51 +0000
(11:08 -0400)
pypiezo/config.py
patch
|
blob
|
history
diff --git
a/pypiezo/config.py
b/pypiezo/config.py
index 520ba13fc38f8e8ae95e92f519b7fcebdf7926a7..a2b8111f84831d0330c79cebe59a27202692b7be 100644
(file)
--- a/
pypiezo/config.py
+++ b/
pypiezo/config.py
@@
-56,7
+56,8
@@
class ChannelConfig (_config.Config):
help="Channel's maximum bit value."),
_config.IntegerSetting(
name='range',
- help="Channel's selected range index."),
+ help="Channel's selected range index.",
+ default=0),
_config.ChoiceSetting(
name='analog-reference',
help="Channel's selected analog reference index.",