fix: tud reconnect timeout

This commit is contained in:
awalol committed 2026-05-05 11:43:51 +08:00
1 parent fb8624b61b
commit 25a46bf278
1 file changed
+1 -1
+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) {
printf("[CMD] Enter tud reconnect func\n");
tud_disconnect();
sleep_ms(1000);
sleep_ms(150);
tud_connect();
}
}