Skip to content

Commit eaaf66d

Browse files
committed
USB changed max_size to 16 bit for isochronous transfers
1 parent c63c5ce commit eaaf66d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

targets/chip/max32625/io/usb.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ namespace klib::max32625::io::detail::usb {
7373
volatile bool is_busy;
7474

7575
// max size of the endpoint
76-
uint8_t max_size;
76+
uint16_t max_size;
7777

7878
// requested size of the current endpoint
7979
uint32_t requested_size;

targets/core/atmel/atsam4s/usb.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace klib::core::atsam4s::io::detail::usb {
2525
bool interrupt_pending;
2626

2727
// max size of the endpoint
28-
uint8_t max_size;
28+
uint16_t max_size;
2929

3030
// pointer to the data
3131
uint8_t *data;

targets/core/nxp/lpc17xx/usb.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace klib::core::lpc17xx::io::detail::usb {
2525
bool interrupt_pending;
2626

2727
// max size of the endpoint
28-
uint8_t max_size;
28+
uint16_t max_size;
2929

3030
// pointer to the data
3131
uint8_t *data;

0 commit comments

Comments
 (0)