Update chip.py

makes suggested changes: version as '0.0.0+auto.0' and removes superfluous parenthesis
This commit is contained in:
johnnohj 2024-08-08 13:23:02 -04:00 committed by GitHub
parent f478b64311
commit 7d76953a9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ except ImportError:
from adafruit_platformdetect.constants import chips from adafruit_platformdetect.constants import chips
__version__ = "3.72.1" __version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PlatformDetect.git" __repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PlatformDetect.git"
@ -143,8 +143,7 @@ class Chip:
0x8130, 0x8130,
0x0105, 0x0105,
) )
) ):
):
self._chip_id = chips.RP2040_U2IF self._chip_id = chips.RP2040_U2IF
return self._chip_id return self._chip_id
raise RuntimeError( raise RuntimeError(