diff --git a/oversteer/device.py b/oversteer/device.py index 4928917..b60a5cd 100644 --- a/oversteer/device.py +++ b/oversteer/device.py @@ -171,7 +171,7 @@ def get_autocenter(self): with open(path, "r") as file: data = file.read() autocenter = data.strip() - return int(autocenter) + return int(round((int(autocenter) * 100) / 65535)) def set_autocenter(self, autocenter): autocenter = str(int(65535 * autocenter / 100))