Fix usb initialization for emulation.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
e4a3124876
commit
27a685b931
1 changed files with 2 additions and 1 deletions
|
|
@ -305,11 +305,12 @@ int main(void) {
|
|||
init_rtc();
|
||||
|
||||
#ifndef ENABLE_EMULATION
|
||||
|
||||
phy_init();
|
||||
#endif
|
||||
|
||||
usb_init();
|
||||
|
||||
#ifndef ENABLE_EMULATION
|
||||
#ifdef ESP_PLATFORM
|
||||
gpio_pad_select_gpio(BOOT_PIN);
|
||||
gpio_set_direction(BOOT_PIN, GPIO_MODE_INPUT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue