#define MASK_EP1RX 0x01
#define MASK_EP1TX 0x02
-unsigned char ep1_rx_buff[USB_MAX_PACKET];
-unsigned char ep1_tx_buff[USB_MAX_PACKET];
-unsigned char ep0_buffer[USB_MAX_PACKET0];
+unsigned char ep1_rx_buff[USB_MAX_PACKET] __attribute__ ((aligned (8)));
+unsigned char ep1_tx_buff[USB_MAX_PACKET] __attribute__ ((aligned (8)));
+unsigned char ep0_buffer[USB_MAX_PACKET0] __attribute__ ((aligned (8)));
int usb_active = 0;
int ep1_rx_index = 0, ep1_rx_ready = 1;
int ep1_tx_index = 0, ep1_tx_chars = 0;