From: W. Trevor King Date: Thu, 15 Mar 2012 15:08:51 +0000 (-0400) Subject: Set the default ChannelConfig range index to 0. X-Git-Tag: 0.7~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8f415f7bb53af26bb6898f3aca570a61e82245df;p=pypiezo.git Set the default ChannelConfig range index to 0. --- diff --git a/pypiezo/config.py b/pypiezo/config.py index 520ba13..a2b8111 100644 --- 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.",