pull/14/head
Tom Early 6 years ago
parent 6c72318b42
commit 28f273e96d

@ -994,7 +994,6 @@ void CQnetGateway::ProcessIncomingSD(const SDSVT &dsvt)
// get the "size" and type from the first byte // get the "size" and type from the first byte
sd.size = 0x0FU & c[0]; sd.size = 0x0FU & c[0];
if (sd.size > 5) { if (sd.size > 5) {
printf("got a size of %d\n", sd.size);
sd.size = 5; sd.size = 5;
} }
int size = sd.size; int size = sd.size;
@ -1069,9 +1068,6 @@ void CQnetGateway::ProcessIncomingSD(const SDSVT &dsvt)
} else { } else {
sd.ig += sd.size; sd.ig += sd.size;
sd.gps[sd.ig] = 0; sd.gps[sd.ig] = 0;
for (int j=0; sd.gps[j]; j++)
printf("%c", sd.gps[j]);
printf("\n");
} }
break; break;
case 0x40U: // message case 0x40U: // message

Loading…
Cancel
Save

Powered by TurnKey Linux.