fix Heltec boards

This commit is contained in:
Egor
2024-09-27 00:57:26 -07:00
parent 94c042a186
commit 72b5d0b80d
6 changed files with 33 additions and 10 deletions
+3
View File
@@ -8,6 +8,8 @@
*
*/
#ifdef LILYGO
#include "LoRaBoards.h"
#if defined(HAS_SDCARD)
@@ -927,3 +929,4 @@ bool beginGPS()
return result;
}
#endif
#endif // #ifdef LILYGO
+2
View File
@@ -486,6 +486,8 @@
#define USING_DIO2_AS_RF_SWITCH
#elif defined(HELTEC)
// just to prevent error
#elif defined(T_BEAM_S3_BPF)
#ifndef USING_SX1278
+3
View File
@@ -27,6 +27,9 @@ constexpr float LO_RSSI_THRESHOLD = HI_RSSI_THRESHOLD - 66;
// number of samples for RSSI method
#define SAMPLES_RSSI 12 // 21 //
#ifdef USING_SX1280PA
#define SAMPLES_RSSI 20
#endif
struct Scan
{