mirror of
https://github.com/esp8266/Arduino.git
synced 2025-10-15 11:26:40 +03:00
[SAM] HID and CDC verified okay on Linux/Mac by Cristian. Fixed OTG clock
init issue. CDC is not working correctly under Windows (possible inf issue).
This commit is contained in:
@@ -75,8 +75,8 @@ uint32_t UDD_Init(void)
|
||||
otg_unfreeze_clock();
|
||||
|
||||
// Check USB clock
|
||||
while (!Is_otg_clock_usable())
|
||||
;
|
||||
//while (!Is_otg_clock_usable())
|
||||
// ;
|
||||
|
||||
udd_low_speed_disable();
|
||||
udd_high_speed_disable();
|
||||
|
Reference in New Issue
Block a user