From 929aef7785372d594ba5795b4b3d8a340a551055 Mon Sep 17 00:00:00 2001 From: KonradIT Date: Mon, 16 Dec 2024 16:27:15 +0100 Subject: [PATCH] wip: test with lower bandwidth --- include/global_config.h | 1 - platformio.ini | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/global_config.h b/include/global_config.h index a2014f7..8297d73 100644 --- a/include/global_config.h +++ b/include/global_config.h @@ -17,7 +17,6 @@ // 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, // 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 #define BANDWIDTH 467.0 -#define BANDWIDTH_SX1280 406. // Detection level from the 33 levels. The higher number is more sensitive #define DEFAULT_DRONE_DETECTION_LEVEL 18 diff --git a/platformio.ini b/platformio.ini index 8b6401a..3a5721d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -295,6 +295,7 @@ build_flags = -DTX_PIN=12 # TX pin on the Lora board, hook up to RX pin on Pi -DRX_PIN=16 # not used but still need to be defined -DSEEK_ON_X=1 # seek on X, so use HW serial port to log JSON + -DBANDWIDTH=4.8 [env:seek-on-mavic-lr1121] platform = espressif32 @@ -328,6 +329,7 @@ build_flags = -DTX_PIN=12 # TX pin on the Lora board, hook up to RX pin on Pi -DRX_PIN=16 # not used but still need to be defined -DSEEK_ON_X=1 # seek on X, so use HW serial port to log JSON + -DBANDWIDTH=4.8 [env:native] platform = native