DFU Mode bug fix

This commit is contained in:
cuu 2022-09-20 16:29:09 +08:00
parent 569edf281e
commit 0c8b8d30fa
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@ -44,6 +44,9 @@ void setup() {
HID.begin(*dev_term._Serial,reportDescription, sizeof(reportDescription));
pinMode(KEY3,OUTPUT);
digitalWrite(KEY3,HIGH);
while(!USBComposite);//wait until usb port been plugged in to PC