Updated to allow command handler to run on x86 systems for development purposes. Also fixed warning about using fprintf incorrectly

This commit is contained in:
akuker
2020-08-07 14:25:05 -05:00
parent c37abe3e73
commit 5a71783d33
2 changed files with 19 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ BOOL SendCommand(char *buf)
// Send the command
fp = fdopen(fd, "r+");
setvbuf(fp, NULL, _IONBF, 0);
fprintf(fp, buf);
fputs(buf, fp);
// Receive the message
while (1) {