diff --git a/doc/cyclingspeed-api.txt b/doc/cyclingspeed-api.txt
index 7b315e1..a1f1a93 100644
--- a/doc/cyclingspeed-api.txt
+++ b/doc/cyclingspeed-api.txt
true if sensor can read and set Cumulative Wheel
Revolutions value, false otherwise.
- boolean MultipleSensorLocationsSupported [readonly]
+ boolean MultipleLocationsSupported [readonly]
true if sensor supports Multiple Sensor Locations
feature and can set Location, false otherwise.
diff --git a/test/test-cyclingspeed b/test/test-cyclingspeed
index 533120a..75bd7d7 100755
--- a/test/test-cyclingspeed
+++ b/test/test-cyclingspeed
if len(args) > 0:
if args[0] == "ShowSupportedLocations":
- if properties["MultipleSensorLocationsSupported"]:
+ if properties["MultipleLocationsSupported"]:
print("Supported locations: ", properties["SupportedLocations"])
else:
print("Multiple sensor locations not supported")
elif args[0] == "SetLocation":
- if properties["MultipleSensorLocationsSupported"]:
+ if properties["MultipleLocationsSupported"]:
device_prop.Set(CYCLINGSPEED_INTERFACE, "Location", args[1])
else:
print("Multiple sensor locations not supported")