summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2013-07-22 21:36:05 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-07-23 21:43:04 -0700
commit6666f313135c03395451b21ea6ae20ddf1de87f4 (patch)
tree474346c83f45ab86dd27445fdac69460fc487d87 /test
parent9e52c81f0ae0389740f74c60a93d665ef5add860 (diff)
downloadbluez-6666f313135c03395451b21ea6ae20ddf1de87f4.tar.gz
cyclingspeed: Fix MultipleLocationsSupported property name usage
MultipleLocationsSupported is the correct property name, as implemented in profiles/cyclingspeed/cyclingspeed.c.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-cyclingspeed4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-cyclingspeed b/test/test-cyclingspeed
index 533120abc..75bd7d74f 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")