From 5b6d397f76dfbea871a8895a74fa7e533e600562 Mon Sep 17 00:00:00 2001 From: Corvus Corax Date: Sat, 5 Apr 2014 13:00:21 +0200 Subject: [PATCH] OP-1290 uncommented accidentally commented lines --- flight/modules/Telemetry/telemetry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flight/modules/Telemetry/telemetry.c b/flight/modules/Telemetry/telemetry.c index 0b365f7c4..55c201369 100644 --- a/flight/modules/Telemetry/telemetry.c +++ b/flight/modules/Telemetry/telemetry.c @@ -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