fix: tud reconnect timeout

This commit is contained in:
awalol
2026-05-05 11:43:51 +08:00
parent fb8624b61b
commit 25a46bf278
+1 -1
View File
@@ -54,7 +54,7 @@ void pico_cmd_set(uint8_t report_id, uint8_t const *buffer, uint16_t bufsize) {
if (buffer[0] == 0x03) { if (buffer[0] == 0x03) {
printf("[CMD] Enter tud reconnect func\n"); printf("[CMD] Enter tud reconnect func\n");
tud_disconnect(); tud_disconnect();
sleep_ms(1000); sleep_ms(150);
tud_connect(); tud_connect();
} }
} }