fix disconnect time
This commit is contained in:
parent
f5b86efdb4
commit
af0bc91916
|
@ -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…
Reference in New Issue