move definition of SPEKTRUM_RSSI_LINK_LOSS_FADES to spektrum_rssi.c because it is not needed elsewhere
This commit is contained in:
parent
33c5e465a6
commit
442b2feb60
|
@ -35,6 +35,8 @@
|
|||
#include "rx/spektrum.h"
|
||||
#include "io/spektrum_rssi.h"
|
||||
|
||||
// Number of fade outs counted as a link loss when using USE_SPEKTRUM_REAL_RSSI
|
||||
#define SPEKTRUM_RSSI_LINK_LOSS_FADES 5
|
||||
|
||||
#ifdef USE_SPEKTRUM_FAKE_RSSI
|
||||
// Spektrum Rx type. Determined by bind method.
|
||||
|
|
|
@ -28,9 +28,6 @@
|
|||
#define SPEKTRUM_MAX_FADE_PER_SEC 40
|
||||
#define SPEKTRUM_FADE_REPORTS_PER_SEC 2
|
||||
|
||||
// Number of fade outs counted as a link loss
|
||||
#define SPEKTRUM_RSSI_LINK_LOSS_FADES 5
|
||||
|
||||
typedef struct dbm_table_s
|
||||
{
|
||||
int8_t dBm;
|
||||
|
|
Loading…
Reference in New Issue