mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-08-07 01:13:15 +02:00
fix Heltec boards
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user