Sfoglia il codice sorgente

AVR ISP: Unlock USB

Willy-JL 8 mesi fa
parent
commit
71914e3517
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      avr_isp/avr_isp_app.c

+ 2 - 0
avr_isp/avr_isp_app.c

@@ -169,6 +169,8 @@ void avr_isp_app_free(AvrIspApp* app) {
 int32_t avr_isp_app(void* p) {
     UNUSED(p);
 
+    furi_hal_usb_unlock();
+
     if(furi_hal_usb_is_locked()) {
         DialogsApp* dialogs = furi_record_open(RECORD_DIALOGS);
         DialogMessage* message = dialog_message_alloc();