• David Brownell's avatar
    musb_hdrc: Minor cleanups involving name changes · 8b63229c
    David Brownell authored
    Minor cleanups involving name changes, primarily on the peripheral side:
    
     - musb->bMayWakeup becomes may_wakeup (camelcase bad)
     - musb->bIsSelfPowered becomes is_self_powered (camelcase bad)
     - pThis (as parameter or variable) becomes musb (camelcase bad)
     - tusb_set_power becomes tusb_draw_power (more meaningful name)
     - tusb_set_vbus becomes tusb_source_power (more meaningful name)
    
    Also, add a flag to track if a B-Peripheral device draws any VBUS power
    (currently only tusb6010 can set that).
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    8b63229c
g_ep0.c 24.2 KB