Quellcode durchsuchen

AVR ISP: Unlock USB

Willy-JL vor 8 Monaten
Ursprung
Commit
71914e3517
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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();