mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	Fix incorrect variable name
This commit is contained in:
		| @@ -368,7 +368,7 @@ class Motor(SourceMixin, CompositeDevice): | |||||||
|     Generic bi-directional motor. |     Generic bi-directional motor. | ||||||
|     """ |     """ | ||||||
|     def __init__(self, forward=None, backward=None): |     def __init__(self, forward=None, backward=None): | ||||||
|         if not all([forward, back]): |         if not all([forward, backward]): | ||||||
|             raise OutputDeviceError('forward and back pins must be provided') |             raise OutputDeviceError('forward and back pins must be provided') | ||||||
|         super(Motor, self).__init__() |         super(Motor, self).__init__() | ||||||
|         self._forward = PWMOutputDevice(forward) |         self._forward = PWMOutputDevice(forward) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user