浏览代码

AVR ISP: Unlock USB

Willy-JL 8 月之前
父节点
当前提交
71914e3517
共有 1 个文件被更改,包括 2 次插入0 次删除
  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();