initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
try:
|
||||
import RPi.GPIO # noqa
|
||||
except RuntimeError as e:
|
||||
assert(str(e) == 'This module can only be run on a Raspberry Pi!')
|
||||
else:
|
||||
raise RuntimeError('Import succeeded when it should not have!')
|
||||
Reference in New Issue
Block a user