Skip to content

Commit

Permalink
Removed reading UDP buffer and flush it everytime.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBleijendaal committed Jul 23, 2016
1 parent 43c5784 commit cd23fe1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Arduino/libraries/Edt-lib/OSC.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class EdtOSC
}
//}


/*
int size;
if ((size = _udpHandle->parsePacket())>0) {
Expand All @@ -96,7 +96,9 @@ class EdtOSC
for (i = 0; i < _objects; i++) {
msgIN.route(_oscObjects[i]);
}
}
}*/

_udpHandle->flush();
}

void send(OSCMessage * message) {
Expand Down

0 comments on commit cd23fe1

Please sign in to comment.