aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/serial_usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/serial_usb.h')
-rw-r--r--os/hal/include/serial_usb.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/os/hal/include/serial_usb.h b/os/hal/include/serial_usb.h
index 03c075f62..3cfa1441b 100644
--- a/os/hal/include/serial_usb.h
+++ b/os/hal/include/serial_usb.h
@@ -115,14 +115,10 @@ typedef struct {
InputQueue iqueue; \
/* Output queue.*/ \
OutputQueue oqueue; \
- /* Input buffer 1.*/ \
- uint8_t ib1[SERIAL_USB_BUFFERS_SIZE]; \
- /* Input buffer 2.*/ \
- uint8_t ib2[SERIAL_USB_BUFFERS_SIZE]; \
- /* Output buffer 1.*/ \
- uint8_t ob1[SERIAL_USB_BUFFERS_SIZE]; \
- /* Output buffer 2.*/ \
- uint8_t ob2[SERIAL_USB_BUFFERS_SIZE]; \
+ /* Input buffer.*/ \
+ uint8_t ib[SERIAL_USB_BUFFERS_SIZE]; \
+ /* Output buffer.*/ \
+ uint8_t ob[SERIAL_USB_BUFFERS_SIZE]; \
/* End of the mandatory fields.*/ \
/* Current configuration data.*/ \
const SerialUSBConfig *config;