From 64b5eb90fe78829e331c43b14858274535297863 Mon Sep 17 00:00:00 2001 From: "dhcorley@msn.com" Date: Fri, 11 Mar 2011 23:03:56 +0000 Subject: [PATCH] cleaned up unneeded integer in xbee test git-svn-id: https://arducopter.googlecode.com/svn/trunk@1771 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/test.pde | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduCopterMega/test.pde b/ArduCopterMega/test.pde index 412d4f556c..9a2101ad39 100644 --- a/ArduCopterMega/test.pde +++ b/ArduCopterMega/test.pde @@ -796,8 +796,7 @@ test_xbee(uint8_t argc, const Menu::arg *argv) Serial.printf_P(PSTR("Begin XBee X-CTU Range and RSSI Test:\n")); while(1){ - int incomingByte; - if (Serial3.available()) + if (Serial3.available()) Serial3.write(Serial3.read()); if(Serial.available() > 0){