Fixed new Xbee Test bug

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1767 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-03-10 21:27:22 +00:00
parent 65037481a2
commit 844cc5da44
1 changed files with 3 additions and 4 deletions

View File

@ -791,10 +791,9 @@ test_xbee(uint8_t argc, const Menu::arg *argv)
while(1){ while(1){
int incomingByte; int incomingByte;
if(Serial3.available()>0){ if (Serial3.available())
incomingByte = Serial3.read(); Serial3.write(Serial3.read());
Serial3.print(incomingByte,byte);
}
if(Serial.available() > 0){ if(Serial.available() > 0){
return (0); return (0);
} }