Skip to content

Commit

Permalink
fix the compare of sent and received bytes. Looks like this was never…
Browse files Browse the repository at this point in the history
… tested. Fixes issue #1
  • Loading branch information
Torfinn Ingolfsen committed Jun 13, 2024
1 parent f8fb564 commit 6950968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serial_flash_programmer/source/f021_DownloadKernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ void loadProgram(FILE *fh)
QUIETPRINT(_T("Error %s\n"), strerror(errno));
}
dwRead = readf;
//rcvDataH = buf[0];
rcvData = buf[0];
#else
ReadFile(file, &rcvData, 1, &dwRead, NULL);
#endif
Expand Down

0 comments on commit 6950968

Please sign in to comment.