Skip to content
Snippets Groups Projects
Commit f937abef authored by Christian Darsow-Fromm's avatar Christian Darsow-Fromm
Browse files

typo

parent 7591b01e
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ def _convertInt2Volt(value, mode=0):
return 10.0 * (value / 0x8000 - 1) / pow(2, mode)
def _rearange_filter_coeffs(filter):
def _rearrange_filter_coeffs(filter):
b = filter[0:3]
a = filter[3:6]
return [b[0], a[1], a[2], b[1] / b[0], b[2] / b[0]]
......@@ -775,7 +775,7 @@ class Servo:
# TODO needs refactoring and better testing
for f in filters6.items():
filters.append(_rearange_filter_coeffs(f[1]))
filters.append(_rearrange_filter_coeffs(f[1]))
filtersEnabled.append(True)
while len(filters) < 5:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment