From ea5279828945373fe941a84b5506087b84715d94 Mon Sep 17 00:00:00 2001 From: KonradIT Date: Wed, 18 Dec 2024 01:01:20 +0100 Subject: [PATCH] No need to set bandwidths here, moving bandwidth work to another branch --- platformio.ini | 2 -- tft_src/main.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index f7b327f..5723634 100644 --- a/platformio.ini +++ b/platformio.ini @@ -157,7 +157,6 @@ build_flags = -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_LILYGO_T3_S3_V1_X -DARDUINO_USB_MODE=1 - -DBANDWIDTH=4.8 [env:lilygo-T3-v1-6-xs1276] platform = espressif32 @@ -260,7 +259,6 @@ build_flags = -DRADIOLIB_EXCLUDE_SX127X=true -DRADIOLIB_EXCLUDE_SX128X=true -DROTATION=1 # 1 = default; 3 = inverted - -DBANDWIDTH=156.2 lib_deps = SPI diff --git a/tft_src/main.cpp b/tft_src/main.cpp index 2c1a9fb..6b16a7f 100644 --- a/tft_src/main.cpp +++ b/tft_src/main.cpp @@ -101,6 +101,7 @@ constexpr bool DRAW_DETECTION_TICKS = true; #define FREQ_BEGIN 150 #define FREQ_END 950 +#define BANDWIDTH 467.0 #define MHZ_PX (float)((float)(FREQ_END - FREQ_BEGIN) / DISPLAY_WIDTH) #define DEFAULT_DRONE_DETECTION_LEVEL -90 #define DRONE_LEGEND 1;