Hi Albert,
In your usb_drv_cdc_class.jal you ave following code:
------------------------------------------------
if false then
usb_control_mode = USB_CM_CTRL_READ_DATA_STAGE_CLASS
//-- need to prime ep0 IN with some funky data here
usb_send_data( 0, cdc_line_coding, 7, 1 )
else
usb_delivery_bytes_max_send = 0xFF
usb_delivery_bytes_to_send = 7
_usb_copy_array_to_ram(
USB_IN_DELIVERY_BUFFER_LOC,
cdc_line_coding, usb_delivery_bytes_to_send )
usb_delivery_buffer_size = USB_EP0_IN_SIZE
//-- usb_delivery_bytes_to_send
usb_control_mode = USB_CM_CTRL_READ_DATA_STAGE
usb_delivery_bytes_sent = 0
var bit dts_bit at usb_bd0in_stat :
USB_BDSTATUS_DTS
dts_bit = low
//-- AF ISO OF PRIME
usb_send_data_chunk()
end if
--------------------------------------------
What kind of construction is? When is evaluated that if? What is
querying?
"if false then" - what evaluate this "if"?
Thank you in advance!
Vasi(funlw65)
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.