Skip to content

Commit 6229da8

Browse files
committed
Fixed an error message that was using the wrong number system. See issue adafruit#128.
1 parent 5c2ebbb commit 6229da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_seesaw/seesaw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def __init__(self, i2c_bus, addr=0x49, drdy=None, reset=True):
159159
_SAMD09_HW_ID_CODE,
160160
):
161161
raise RuntimeError(
162-
f"Seesaw hardware ID returned 0x{self.chip_id} is not "
162+
f"Seesaw hardware ID returned 0x{self.chip_id:x} is not "
163163
"correct! Please check your wiring."
164164
)
165165

0 commit comments

Comments
 (0)