move definition of SPEKTRUM_RSSI_LINK_LOSS_FADES to spektrum_rssi.c because it is not needed elsewhere

This commit is contained in:
warhog 2019-02-05 10:29:39 +01:00
parent 33c5e465a6
commit 442b2feb60
2 changed files with 2 additions and 3 deletions

View File

@ -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.

View File

@ -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;