Added #warning output to indicate the use of secondary spektrum receiver.

This commit is contained in:
Piotr Esden-Tempski
2011-03-06 20:23:53 -08:00
parent f26337351f
commit be9fc10e84
@@ -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];