Browse Source

[lm4f/usb] fixed lm4f_ep_write_packet() when single byte copied to buffer.

pull/183/merge
Dirk Braun 12 years ago
committed by Piotr Esden-Tempski
parent
commit
ad29d0ce31
  1. 1
      lib/lm4f/usb_lm4f.c

1
lib/lm4f/usb_lm4f.c

@ -386,6 +386,7 @@ static uint16_t lm4f_ep_write_packet(usbd_device *usbd_dev, uint8_t addr,
}
if (len & 0x1) {
USB_FIFO8(ep) = *((uint8_t *)(buf + i));
i += 1;
}
if (ep == 0) {

Loading…
Cancel
Save