From 9f588608423db14e3bfa236efe16c4a3218fe335 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Mon, 2 Oct 2023 17:36:33 +0200 Subject: [PATCH] Added missing super init on Android interfaces --- RNS/Interfaces/Android/KISSInterface.py | 3 +-- RNS/Interfaces/Android/RNodeInterface.py | 3 +-- RNS/Interfaces/Android/SerialInterface.py | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/RNS/Interfaces/Android/KISSInterface.py b/RNS/Interfaces/Android/KISSInterface.py index 21d3693..88514b5 100644 --- a/RNS/Interfaces/Android/KISSInterface.py +++ b/RNS/Interfaces/Android/KISSInterface.py @@ -82,8 +82,7 @@ class KISSInterface(Interface): else: raise SystemError("Android-specific interface was used on non-Android OS") - self.rxb = 0 - self.txb = 0 + super().__init__() self.HW_MTU = 564 diff --git a/RNS/Interfaces/Android/RNodeInterface.py b/RNS/Interfaces/Android/RNodeInterface.py index b70a9b4..3ced09b 100644 --- a/RNS/Interfaces/Android/RNodeInterface.py +++ b/RNS/Interfaces/Android/RNodeInterface.py @@ -349,8 +349,7 @@ class RNodeInterface(Interface): else: raise SystemError("Android-specific interface was used on non-Android OS") - self.rxb = 0 - self.txb = 0 + super().__init__() self.HW_MTU = 508 diff --git a/RNS/Interfaces/Android/SerialInterface.py b/RNS/Interfaces/Android/SerialInterface.py index 7b37518..7d3d905 100644 --- a/RNS/Interfaces/Android/SerialInterface.py +++ b/RNS/Interfaces/Android/SerialInterface.py @@ -72,8 +72,7 @@ class SerialInterface(Interface): else: raise SystemError("Android-specific interface was used on non-Android OS") - self.rxb = 0 - self.txb = 0 + super().__init__() self.HW_MTU = 564