Fix return type of TrafficLightsBuzzer.value

The FishDishTuple was renamed to TrafficLightsBuzzerTuple in
commit b87e2a4, but the `value` property wasn't modified to match.
This commit is contained in:
Alex Chan
2016-01-06 15:04:34 +00:00
parent e172caf2cb
commit cca4c85afe

View File

@@ -211,7 +211,7 @@ class TrafficLightsBuzzer(SourceMixin, CompositeDevice):
the LEDs, and the buzzer. This property can also be set to a 4-tuple the LEDs, and the buzzer. This property can also be set to a 4-tuple
to update the state of all the board's components. to update the state of all the board's components.
""" """
return FishDishTuple( return TrafficLightsBuzzerTuple(
self.lights.red.value, self.lights.red.value,
self.lights.amber.value, self.lights.amber.value,
self.lights.green.value, self.lights.green.value,