diff --git a/serial_flash_programmer/source/f021_DownloadKernel.cpp b/serial_flash_programmer/source/f021_DownloadKernel.cpp index 5034f89..1d84e69 100644 --- a/serial_flash_programmer/source/f021_DownloadKernel.cpp +++ b/serial_flash_programmer/source/f021_DownloadKernel.cpp @@ -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