You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// os_none implement task delay using usb frame counter which is not started yet
210
+
// therefore cause infinite delay.
211
+
// TODO find a way to delay in case of os none e.g __nop
209
212
osal_task_delay(20);
213
+
#endif
210
214
}
211
215
212
216
// reset controller
@@ -233,6 +237,7 @@ bool hcd_init(uint8_t rhport)
233
237
234
238
OHCI_REG->control_bit.hc_functional_state=OHCI_CONTROL_FUNCSTATE_OPERATIONAL; // make HC's state to operational state TODO use this to suspend (save power)
235
239
OHCI_REG->rh_status_bit.local_power_status_change=1; // set global power for ports
240
+
236
241
osal_task_delay(OHCI_REG->rh_descriptorA_bit.power_on_to_good_time*2); // Wait POTG after power up
0 commit comments