Version 2.6.6

This commit is contained in:
Jeroen Oudshoorn
2024-01-12 21:18:46 +01:00
parent 5824a6d77c
commit 5ca0bebea7

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'):
implementation = SunriseX3()
else:
implementation = JetsonNano()
implementation = RaspberryPi()
for func in [x for x in dir(implementation) if not x.startswith('_')]:
setattr(sys.modules[__name__], func, getattr(implementation, func))