14 lines
299 B
Diff
14 lines
299 B
Diff
diff --git a/raspyrfm/__init__.py b/raspyrfm/__init__.py
|
|
index 3587a64..08d895d 100644
|
|
--- a/raspyrfm/__init__.py
|
|
+++ b/raspyrfm/__init__.py
|
|
@@ -12,6 +12,9 @@ def __get_hw_params(mod):
|
|
dio0 = 1
|
|
elif mod == 4:
|
|
dio0 = 18
|
|
+ elif mod == 5:
|
|
+ dio0 = 2
|
|
+ mod = 3 # spidev0.2
|
|
else:
|
|
return
|
|
|