mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Resolved a number of build issues with WIN32 builds
This commit is contained in:
@@ -879,7 +879,7 @@ int32_t PRDevice::CollectReadData()
|
|||||||
{
|
{
|
||||||
int32_t rc,i;
|
int32_t rc,i;
|
||||||
rc = PRHardwareRead(collect_buffer, FTDI_BUFFER_SIZE-num_collected_bytes);
|
rc = PRHardwareRead(collect_buffer, FTDI_BUFFER_SIZE-num_collected_bytes);
|
||||||
for (i=0; i<rc; i=i++) {
|
for (i=0; i<rc; i++) {
|
||||||
collected_bytes_fifo[collected_bytes_wr_addr] = collect_buffer[i];
|
collected_bytes_fifo[collected_bytes_wr_addr] = collect_buffer[i];
|
||||||
if (collected_bytes_wr_addr == (FTDI_BUFFER_SIZE-1))
|
if (collected_bytes_wr_addr == (FTDI_BUFFER_SIZE-1))
|
||||||
collected_bytes_wr_addr = 0;
|
collected_bytes_wr_addr = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user