mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Remove SPEK1024 as the default RX (set to NONE) (#12500)
This commit is contained in:
parent
53dbad7e1a
commit
f69fe363c8
3 changed files with 8 additions and 4 deletions
|
@ -232,7 +232,7 @@ static const char * const lookupTableBlackboxSampleRate[] = {
|
|||
|
||||
#ifdef USE_SERIALRX
|
||||
static const char * const lookupTableSerialRX[] = {
|
||||
"SPEK1024",
|
||||
"NONE",
|
||||
"SPEK2048",
|
||||
"SBUS",
|
||||
"SUMD",
|
||||
|
@ -247,6 +247,7 @@ static const char * const lookupTableSerialRX[] = {
|
|||
"FPORT",
|
||||
"SRXL2",
|
||||
"GHST",
|
||||
"SPEK1024",
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
@ -124,7 +124,9 @@ void ghstRxSendTelemetryData(void)
|
|||
{
|
||||
// if there is telemetry data to write
|
||||
if (telemetryBufLen > 0) {
|
||||
serialWriteBuf(serialPort, telemetryBuf, telemetryBufLen);
|
||||
if (serialPort != NULL) {
|
||||
serialWriteBuf(serialPort, telemetryBuf, telemetryBufLen);
|
||||
}
|
||||
telemetryBufLen = 0; // reset telemetry buffer
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ typedef enum {
|
|||
} rxFrameState_e;
|
||||
|
||||
typedef enum {
|
||||
SERIALRX_SPEKTRUM1024 = 0,
|
||||
SERIALRX_NONE = 0,
|
||||
SERIALRX_SPEKTRUM2048 = 1,
|
||||
SERIALRX_SBUS = 2,
|
||||
SERIALRX_SUMD = 3,
|
||||
|
@ -68,7 +68,8 @@ typedef enum {
|
|||
SERIALRX_TARGET_CUSTOM = 11,
|
||||
SERIALRX_FPORT = 12,
|
||||
SERIALRX_SRXL2 = 13,
|
||||
SERIALRX_GHST = 14
|
||||
SERIALRX_GHST = 14,
|
||||
SERIALRX_SPEKTRUM1024 = 15
|
||||
} SerialRXType;
|
||||
|
||||
#define MAX_SUPPORTED_RC_PPM_CHANNEL_COUNT 12
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue