Removed debug code

This commit is contained in:
jpk 2017-11-19 19:10:10 +01:00
parent 457d26bf8d
commit 61b2327d3c
1 changed files with 0 additions and 7 deletions

View File

@ -88,14 +88,7 @@ static int lw12_cmd_light(int argc, char *argv[]) {
return 1;
}
// last char gets not copied?!
for (int x = 0; x < 9; x++)
printf("%02x", cmd[x]);
printf("\n");
cmd[LW12_CMD_LENGTH-1] = '\xef';
for (int x = 0; x < 9; x++)
printf("%02x", cmd[x]);
printf("\n");
lw12_sendcmd(sockfd, &server_addr, (char *)cmd);
} else {
printf("What?!\n");