Compare commits

...

3 Commits

Author SHA1 Message Date
d259e862ba Version 2.6.7 2024-01-12 22:33:08 +01:00
5844e51cf8 Version 2.6.6 2024-01-12 21:22:49 +01:00
5ca0bebea7 Version 2.6.6 2024-01-12 21:18:46 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
__version__ = '2.6.5' __version__ = '2.6.7'

View File

@ -235,7 +235,7 @@ if os.path.exists('/sys/bus/platform/drivers/gpiomem-bcm2835'):
elif os.path.exists('/sys/bus/platform/drivers/gpio-x3'): elif os.path.exists('/sys/bus/platform/drivers/gpio-x3'):
implementation = SunriseX3() implementation = SunriseX3()
else: else:
implementation = JetsonNano() implementation = RaspberryPi()
for func in [x for x in dir(implementation) if not x.startswith('_')]: for func in [x for x in dir(implementation) if not x.startswith('_')]:
setattr(sys.modules[__name__], func, getattr(implementation, func)) setattr(sys.modules[__name__], func, getattr(implementation, func))