File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ def _get_gs_value(self, channel):
170
170
# Disable should be removed when refactor can be tested
171
171
if (channel < 0 ) or (channel >= _CHANNELS * self ._n ):
172
172
raise ValueError (
173
- "channel {0} not available with {1} board(s)." .format (channel , self ._n ))
173
+ "channel {0} not available with {1} board(s)." .format (channel , self ._n ))
174
174
# Invert channel position as the last channel needs to be written first.
175
175
# I.e. is in the first position of the shift registr.
176
176
channel = _CHANNELS * self ._n - 1 - channel
@@ -197,7 +197,7 @@ def _get_gs_value(self, channel):
197
197
def _set_gs_value (self , channel , val ):
198
198
if (channel < 0 ) or (channel >= _CHANNELS * self ._n ):
199
199
raise ValueError (
200
- "channel {0} not available with {1} board(s)." .format (channel , self ._n ))
200
+ "channel {0} not available with {1} board(s)." .format (channel , self ._n ))
201
201
if (val < 0 ) or (val > 4095 ):
202
202
raise ValueError ("PWM intensity {0} outside supported range [0;4095]" .format (val ))
203
203
You can’t perform that action at this time.
0 commit comments