Skip to content

Commit fdb50ba

Browse files
author
andrew.rapp
committed
Removed array zero in reset that may have been causing the arduino to reset. Suggestion by highfel...@gmail.com. Issue reported by Megahulk...@gmail.com
git-svn-id: https://xbee-arduino.googlecode.com/svn/trunk@43 42c8444e-1c8e-11de-a108-cd2f117ce590
1 parent fe0e0a8 commit fdb50ba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

XBee.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -745,10 +745,6 @@ void XBeeResponse::reset() {
745745
_frameLength = 0;
746746

747747
_errorCode = NO_ERROR;
748-
749-
for (int i = 0; i < MAX_FRAME_DATA_SIZE; i++) {
750-
getFrameData()[i] = 0;
751-
}
752748
}
753749

754750
void XBee::resetResponse() {

0 commit comments

Comments
 (0)