There was an error while loading. Please reload this page.
2 parents 8cce7af + a918e26 commit d15aef6Copy full SHA for d15aef6
src/receiver.cpp
@@ -227,7 +227,6 @@ void createSocket(char* addr, char* port) {
227
228
pair<int, string> convbuf(char* buf){
229
pair<int,string> res = make_pair(-1,"");
230
-printf("STX dari transmitter : %u\n", buf[2]);
231
if(buf[0] != SOH) return res;
232
if(buf[2] != STX) return res;
233
res.fi = buf[1];
@@ -302,7 +301,6 @@ void *childProcess(void *threadid){
302
301
sendNAK(rxq->front);
303
printf("before usleep\n");
304
sleep(2);
305
-// usleep(100000000);
306
}
307
308
0 commit comments