1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

OP-1290 uncommented accidentally commented lines

This commit is contained in:
Corvus Corax 2014-04-05 13:00:21 +02:00
parent bb91039f51
commit 5b6d397f76

View File

@ -711,11 +711,11 @@ static void updateSettings()
* Determine input/output com port as highest priority available
* @param[in] input Returns the approproate input com port if true, else the appropriate output com port
*/
// #ifdef PIOS_INCLUDE_RFM22B
// static uint32_t getComPort( bool input)
// #else
#ifdef PIOS_INCLUDE_RFM22B
static uint32_t getComPort(bool input)
#else
static uint32_t getComPort(__attribute__((unused)) bool input)
// #endif
#endif
{
#if defined(PIOS_INCLUDE_USB)
// if USB is connected, USB takes precedence for telemetry