Skip to content
Snippets Groups Projects
Commit b856a612 authored by lab 29's avatar lab 29
Browse files

readFilterControl fix

parent 18f14371
No related branches found
No related tags found
No related merge requests found
...@@ -243,6 +243,7 @@ class Servo: ...@@ -243,6 +243,7 @@ class Servo:
self.auxSw = general.readBit(c, 9) self.auxSw = general.readBit(c, 9)
for i in list(range(5)): for i in list(range(5)):
self._state['filtersEnabled'][i] = general.readBit(c, 4 + i) self._state['filtersEnabled'][i] = general.readBit(c, 4 + i)
self._state['snapSw'] = general.readBit(c, 3)
self._state['offsetSw'] = general.readBit(c, 2) self._state['offsetSw'] = general.readBit(c, 2)
self._state['outputSw'] = general.readBit(c, 1) self._state['outputSw'] = general.readBit(c, 1)
self._state['inputSw'] = general.readBit(c, 0) self._state['inputSw'] = general.readBit(c, 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment