Diff between 9e52c81f0ae0389740f74c60a93d665ef5add860 and 6666f313135c03395451b21ea6ae20ddf1de87f4

Changed Files

File Additions Deletions Status
doc/cyclingspeed-api.txt +1 -1 modified
test/test-cyclingspeed +2 -2 modified

Full Patch

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
@@ -58,7 +58,7 @@ Properties	string Location (optional) [readwrite]
 			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
@@ -169,13 +169,13 @@ if __name__ == "__main__":
 
 	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")