From 10e2b0ee5913cceccc984c315837d5035b2fc708 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 27 Aug 2024 20:41:35 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/system.py b/modules/system.py index 89d294d..6ab2f5f 100644 --- a/modules/system.py +++ b/modules/system.py @@ -83,6 +83,11 @@ if store_forward_enabled: # Radio Monitor Configuration if radio_detection_enabled: from modules.radio import * # from the spudgunman/meshing-around repo + +# BLE dual interface prevention +if interface1_type == 'ble' and interface2_type == 'ble': + logger.critical(f"System: BLE Interface1 and Interface2 cannot both be BLE. Exiting") + exit() # Interface1 Configuration try: