*(data+1)=val;
usb_udev_write_endpoint(&eps[1],(unsigned char *)data,size);
timer_rx_off=50; //rosviceni diody pri prijmu
CLR_OUT_PIN(LED_PORT,LED2_BIT);
usb_can_send=0;
}
*(data+1)=val;
usb_udev_write_endpoint(&eps[1],(unsigned char *)data,size);
timer_rx_off=50; //rosviceni diody pri prijmu
CLR_OUT_PIN(LED_PORT,LED2_BIT);
usb_can_send=0;
}