Преглед изворни кода

update ofw plugins, add new plugins

MX пре 2 година
родитељ
комит
c035bc43c7
3 измењених фајлова са 5 додато и 4 уклоњено
  1. 2 1
      application.fam
  2. 2 2
      helpers/avr_isp_worker_rw.c
  3. 1 1
      lib/driver/avr_isp_prog.c

+ 2 - 1
application.fam

@@ -5,7 +5,8 @@ App(
     entry_point="avr_isp_app",
     requires=["gui"],
     stack_size=4 * 1024,
-    order=20,
+    fap_description="Application for flashing AVR microcontrollers",
+    fap_version="1.0",
     fap_icon="avr_app_icon_10x10.png",
     fap_category="GPIO",
     fap_icon_assets="images",

+ 2 - 2
helpers/avr_isp_worker_rw.c

@@ -350,12 +350,12 @@ static void avr_isp_worker_rw_get_dump_flash(AvrIspWorkerRW* instance, const cha
             sizeof(data));
         flipper_i32hex_file_bin_to_i32hex_set_data(
             flipper_hex_flash, data, avr_isp_chip_arr[instance->chip_arr_ind].pagesize);
-        //FURI_LOG_D(TAG, "%s", flipper_i32hex_file_get_string(flipper_hex_flash));
+        FURI_LOG_D(TAG, "%s", flipper_i32hex_file_get_string(flipper_hex_flash));
         instance->progress_flash =
             (float)(i) / ((float)avr_isp_chip_arr[instance->chip_arr_ind].flashsize / 2.0f);
     }
     flipper_i32hex_file_bin_to_i32hex_set_end_line(flipper_hex_flash);
-    //FURI_LOG_D(TAG, "%s", flipper_i32hex_file_get_string(flipper_hex_flash));
+    FURI_LOG_D(TAG, "%s", flipper_i32hex_file_get_string(flipper_hex_flash));
     flipper_i32hex_file_close(flipper_hex_flash);
     instance->progress_flash = 1.0f;
 }

+ 1 - 1
lib/driver/avr_isp_prog.c

@@ -196,7 +196,7 @@ static void avr_isp_prog_set_cfg(AvrIspProg* instance) {
     instance->cfg->lockbytes = instance->buff[6];
     instance->cfg->fusebytes = instance->buff[7];
     instance->cfg->flashpoll = instance->buff[8];
-    // ignore (instance->buff[9] == instance->buff[8]) //FLASH polling value. Same as �flashpoll�
+    // ignore (instance->buff[9] == instance->buff[8]) //FLASH polling value. Same as “flashpoll”
     instance->cfg->eeprompoll = instance->buff[10] << 8 | instance->buff[11];
     instance->cfg->pagesize = instance->buff[12] << 8 | instance->buff[13];
     instance->cfg->eepromsize = instance->buff[14] << 8 | instance->buff[15];