mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 21:07:40 +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};
|
||||
#ifdef RADIO_CONTROL_SPEKTRUM_SECONDARY_PORT
|
||||
#warning "Using secondary spektrum receiver."
|
||||
SpektrumStateType SecondarySpektrumState = {1,0,0,0,0,0,0,0,0};
|
||||
#else
|
||||
#warning "NOT using secondary spektrum receiver."
|
||||
#endif
|
||||
|
||||
int16_t SpektrumBuf[SPEKTRUM_CHANNELS_PER_FRAME*MAX_SPEKTRUM_FRAMES];
|
||||
|
||||
Reference in New Issue
Block a user