From 13a82043931e9ec8c233e97a2c181796935b0fe5 Mon Sep 17 00:00:00 2001 From: Egor Shitikov Date: Tue, 20 Aug 2024 03:53:20 -0700 Subject: [PATCH] Bt some fixes --- src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2ee1b37..2e42425 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,7 +26,8 @@ // This file contains a binary patch for the SX1262 #include "modules/SX126x/patches/SX126x_patch_scan.h" #define OSD_ENABLED true -// #define WIFI_SCANNING_ENABLED true +// #define WIFI_SCANNING_ENABLED true +// #define BT_SCANNING_ENABLED true #define BT_SCAN_DELAY 60 * 1 * 1000 #define WF_SCAN_DELAY 60 * 2 * 1000 @@ -126,9 +127,7 @@ static const int buf0[36] = {0x02, 0x80, 0x02, 0x40, 0x7F, 0xE0, 0x42, 0x00, // project components #if defined(WIFI_SCANNING_ENABLED) && defined(BT_SCANNING_ENABLED) - #include "WiFi.h" -// #define BT_SCANNING_ENABLED true #ifdef BT_SCANNING_ENABLED #include #include