Subversion Repositories freemyipod

Rev

Rev 274 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 274 Rev 336
Line 130... Line 130...
130
    endpoints[ep].active = false;
130
    endpoints[ep].active = false;
131
}
131
}
132
 
132
 
133
static void usb_reset(void)
133
static void usb_reset(void)
134
{
134
{
135
    volatile int i;
-
 
136
 
-
 
137
    DCTL = 0x802;  /* Soft Disconnect */
135
    DCTL = 0x802;  /* Soft Disconnect */
138
 
136
 
139
    OPHYPWR = 0;  /* PHY: Power up */
137
    OPHYPWR = 0;  /* PHY: Power up */
140
    OPHYUNK1 = 1;
138
    OPHYUNK1 = 1;
141
    OPHYUNK2 = 0xE3F;
139
    OPHYUNK2 = 0xE3F;