diff --git a/balong_flash.c b/balong_flash.c index a58add7..f6042f2 100644 --- a/balong_flash.c +++ b/balong_flash.c @@ -166,9 +166,7 @@ if (in == 0) { // Поиск разделов внутри файла if (!nflag) { findparts(in); - printf("\n Версия прошивки: %s",ptable[0].hd.version); - printf("\n Дата сборки: %s %s",ptable[0].hd.date,ptable[0].hd.time); - printf("\n Заголовок: версия %i, платформа %8.8s",ptable[0].hd.hdversion,ptable[0].hd.unlock); + show_fw_info(); } // Поиск файлов прошивок в указанном каталоге diff --git a/build b/build index 6c41245..205a12b 100644 --- a/build +++ b/build @@ -1 +1 @@ -189 +194 diff --git a/util.c b/util.c index 6d46e44..4c9d1d6 100644 --- a/util.c +++ b/util.c @@ -262,3 +262,31 @@ for (i=0;i