fix disconnect time

forumslader-logger
King Kévin 7 years ago
parent f5b86efdb4
commit af0bc91916
  1. 2
      lib/usb_cdcacm.c

@ -300,7 +300,7 @@ void cdcacm_setup(void)
rcc_periph_clock_enable(RCC_GPIOA);
gpio_set_mode(GPIOA, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL, GPIO12);
gpio_clear(GPIOA, GPIO12);
for (uint32_t i = 0; i < 0x8000; i++) {
for (uint32_t i = 0; i < 0x800; i++) {
__asm__("nop");
}
#elif MAPLE_MINI

Loading…
Cancel
Save