• Robert Sprowson's avatar
    Build fix · 1d60fab9
    Robert Sprowson authored
    Having updated the central 'usb.h' to include some of the more recent definitions this has created a clash here.
    UHF_PORT_L1 isn't 5 according to the USB 2.0 spec, but since the only use of it in DWCDriver is wrapped in CONFIG_USB_DWC_OTG_LPM which isn't enabled in this port, just delete it.
    UHF_C_PORT_L1 is now defined in 'usb.h', delete local copy.
    UHF_PORT_HIGH_SPEED remains. In fact, it looks like the ported driver got confused when responding to GET_PORT_STATUS as it builds the status word out of bitmasks defined for hub feature manipulation (UHF) not port status (UPS) which are different number spaces. Oops.
    
    Version 0.18. Tagged as 'DWCDriver-0_18'
    1d60fab9
VersionNum 829 Bytes