We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 490a166 commit 3443b3cCopy full SHA for 3443b3c
adafruit_seesaw/seesaw.py
@@ -449,15 +449,14 @@ def _get_eeprom_i2c_addr(self):
449
_ATTINY817_HW_ID_CODE,
450
):
451
return 0x7F
452
- elif chip_id in (
+ if chip_id in (
453
_ATTINY1616_HW_ID_CODE,
454
_ATTINY1617_HW_ID_CODE,
455
456
return 0xFF
457
- elif chip_id in (_SAMD09_HW_ID_CODE,):
+ if chip_id in (_SAMD09_HW_ID_CODE,):
458
return 0x3F
459
- else:
460
- return None
+ return None
461
462
def set_i2c_addr(self, addr):
463
"""Store a new address in the device's EEPROM and reboot it."""
0 commit comments