File tree 1 file changed +4
-6
lines changed 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -236,21 +236,21 @@ def use_LRM(self):
236
236
237
237
238
238
class Effect :
239
- """Class for adding an effect to the DRV2605 waveform sequence."""
239
+ """DRV2605 waveform sequence effect ."""
240
240
def __init__ (self , effect_id ):
241
241
self ._effect_id = 0
242
242
# pylint: disable=invalid-name
243
243
self .id = effect_id
244
244
245
245
@property
246
246
def raw_value (self ):
247
- """Return the raw effect ID."""
247
+ """Raw effect ID."""
248
248
return self ._effect_id
249
249
250
250
@property
251
251
# pylint: disable=invalid-name
252
252
def id (self ):
253
- """Return the effect ID."""
253
+ """Effect ID."""
254
254
return self ._effect_id
255
255
256
256
@id .setter
@@ -262,7 +262,6 @@ def id(self, effect_id):
262
262
self ._effect_id = effect_id
263
263
264
264
def __repr__ (self ):
265
- """Return a string representation of the Effect class."""
266
265
return "{}({})" .format (type (self ).__qualname__ , self .id )
267
266
268
267
@@ -278,7 +277,7 @@ def __init__(self, duration):
278
277
279
278
@property
280
279
def raw_value (self ):
281
- """Return the raw pause duration."""
280
+ """Raw pause duration."""
282
281
return self ._duration
283
282
284
283
@property
@@ -294,7 +293,6 @@ def duration(self, duration):
294
293
self ._duration = 0x80 | duration
295
294
296
295
def __repr__ (self ):
297
- """Return a string representation of the Pause class."""
298
296
return "{}({})" .format (type (self ).__qualname__ , self .duration )
299
297
300
298
You can’t perform that action at this time.
0 commit comments