OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [src/] [usb_tmc.c] - Diff between revs 9 and 13

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 9 Rev 13
Line 272... Line 272...
 
 
    case GET_CAPABILITIES:
    case GET_CAPABILITIES:
      usb_tmc_status = TMC_STATUS_SUCCESS;
      usb_tmc_status = TMC_STATUS_SUCCESS;
      {
      {
        uint8_t i = 0;
        uint8_t i = 0;
 
        code char *local_capabilities = &((code char)USB_TMC_CAPABILITIES);
        for(i;i<0x18;i++){
        for(i;i<0x18;i++){
          EP0BUF[i] = (&(uintptr_t)USB_TMC_CAPABILITIES)[i];
          //EP0BUF[i] = (&(uintptr_t)USB_TMC_CAPABILITIES)[i];
 
          EP0BUF[i] = local_capabilities[i];
        }
        }
        EP0BCH = 0;
        EP0BCH = 0;
        EP0BCL = 0x18;
        EP0BCL = 0x18;
      }
      }
      break;
      break;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.