Fix pointer type

This commit is contained in:
Reinhard Panhuber 2021-02-23 21:53:17 +01:00
parent 697c9476b7
commit a7f07a1a63
1 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@ static void fill_tx_fifo(xfer_ctl_t * xfer)
len1--;
}
tu_fifo_advance_read_pointer(ff, len-len1);
tu_fifo_advance_read_pointer(xfer->ff, len-len1);
left_to_send -= (len-len1);
// Check for wrapped part
@ -331,7 +331,7 @@ static void fill_tx_fifo(xfer_ctl_t * xfer)
xfer->last_packet_size++;
len1--;
}
tu_fifo_advance_read_pointer(ff, len-len1);
tu_fifo_advance_read_pointer(xfer->ff, len-len1);
left_to_send -= (len-len1);
}
}