Pārlūkot izejas kodu

Turn on current limit switch

main
PaulStoffregen pirms 4 gadiem
vecāks
revīzija
862bd128c3
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. +6
    -1
      ehci.cpp

+ 6
- 1
ehci.cpp Parādīt failu

@@ -205,7 +205,12 @@ void USBHost::begin()
USBPHY2_CTRL_CLR = USBPHY_CTRL_SFTRST | USBPHY_CTRL_CLKGATE;
USBPHY2_CTRL_SET = USBPHY_CTRL_ENUTMILEVEL2 | USBPHY_CTRL_ENUTMILEVEL3;
USBPHY2_PWD = 0;

#ifdef ARDUINO_TEENSY41
IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_40 = 5;
IOMUXC_SW_PAD_CTL_PAD_GPIO_EMC_40 = 0x0008; // slow speed, weak 150 ohm drive
GPIO8_GDIR |= 1<<26;
GPIO8_DR_SET = 1<<26;
#endif
#endif
delay(10);


Notiek ielāde…
Atcelt
Saglabāt