From 3ec939888ee3d236583086e12eeb54116b96af3b Mon Sep 17 00:00:00 2001 From: "james.goppert" Date: Mon, 8 Nov 2010 04:23:13 +0000 Subject: [PATCH] Removed Serial references. git-svn-id: https://arducopter.googlecode.com/svn/trunk@804 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/APM_BinComm/APM_BinComm.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/libraries/APM_BinComm/APM_BinComm.cpp b/libraries/APM_BinComm/APM_BinComm.cpp index b3bccf1186..2d1f0558bc 100644 --- a/libraries/APM_BinComm/APM_BinComm.cpp +++ b/libraries/APM_BinComm/APM_BinComm.cpp @@ -98,12 +98,6 @@ BinComm::update(void) // XXX we might want to further constrain this count count = _interface->available(); - //if (count > 0) - //{ - //Serial.print("count: "); - //Serial.println(count,DEC); - //} - while (count--) _decode(_interface->read()); } @@ -121,8 +115,6 @@ BinComm::_decode(uint8_t inByte) // run the decode state machine // - //Serial.print("decode phase: "); Serial.println(_decodePhase,DEC); - //Serial.print("in byte: "); Serial.println(inByte,HEX); switch (_decodePhase) { // Preamble detection @@ -223,10 +215,6 @@ BinComm::_decode(uint8_t inByte) _messageID, _messageVersion, &_decodeBuf); send_msg_acknowledge(_messageID,_sumA,_sumB); } - else - { - Serial.println("unhandled message"); - } } else { badMessagesReceived++; }