mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-02 05:17:03 +08:00
Added #warning output to indicate the use of secondary spektrum receiver.
This commit is contained in:
@@ -85,7 +85,10 @@ typedef struct SpektrumStateStruct SpektrumStateType;
|
|||||||
|
|
||||||
SpektrumStateType PrimarySpektrumState = {1,0,0,0,0,0,0,0,0};
|
SpektrumStateType PrimarySpektrumState = {1,0,0,0,0,0,0,0,0};
|
||||||
#ifdef RADIO_CONTROL_SPEKTRUM_SECONDARY_PORT
|
#ifdef RADIO_CONTROL_SPEKTRUM_SECONDARY_PORT
|
||||||
|
#warning "Using secondary spektrum receiver."
|
||||||
SpektrumStateType SecondarySpektrumState = {1,0,0,0,0,0,0,0,0};
|
SpektrumStateType SecondarySpektrumState = {1,0,0,0,0,0,0,0,0};
|
||||||
|
#else
|
||||||
|
#warning "NOT using secondary spektrum receiver."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int16_t SpektrumBuf[SPEKTRUM_CHANNELS_PER_FRAME*MAX_SPEKTRUM_FRAMES];
|
int16_t SpektrumBuf[SPEKTRUM_CHANNELS_PER_FRAME*MAX_SPEKTRUM_FRAMES];
|
||||||
|
|||||||
Reference in New Issue
Block a user