Skip to content

Commit b526c09

Browse files
committed
lint
1 parent c3075da commit b526c09

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

adafruit_seesaw/attiny8x7.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@
99
==================================================================================
1010
"""
1111

12-
try:
13-
from micropython import const
14-
except ImportError:
15-
16-
def const(x):
17-
return x
18-
19-
2012
__version__ = "0.0.0-auto.0"
2113
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
2214

adafruit_seesaw/seesaw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def __init__(self, i2c_bus, addr=0x49, drdy=None, reset=True):
150150
raise RuntimeError(
151151
"Seesaw hardware ID returned (0x{:x}) is not "
152152
"correct! Expected 0x{:x} or 0x{:x}. Please check your wiring.".format(
153-
chip_id, _SAMD09_HW_ID_CODE, _ATTINY8X7_HW_ID_CODE
153+
self.chip_id, _SAMD09_HW_ID_CODE, _ATTINY8X7_HW_ID_CODE
154154
)
155155
)
156156

0 commit comments

Comments
 (0)