From e437e5241e33544f3811c6bda0c9020710611c0a Mon Sep 17 00:00:00 2001 From: forth32 Date: Mon, 7 Nov 2016 07:40:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=82=D0=BE=D1=87=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B9?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D0=B5=D0=B9=20=D0=B7=D0=B0=D0=B3=D0=BE?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=BA=D0=B0=20=D0=B2=20=D1=81=D0=BE=D0=BE?= =?UTF-8?q?=D1=82=D0=B2=D0=B5=D1=82=D1=81=D1=82=D0=B2=D0=B8=D0=B8=20=D1=81?= =?UTF-8?q?=20=D1=82=D0=B5=D1=80=D0=BC=D0=B8=D0=BD=D0=BE=D0=BB=D0=BE=D0=B3?= =?UTF-8?q?=D0=B8=D0=B5=D0=B9=20huawei?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- balong_flash.c | 4 +--- build | 2 +- util.c | 28 ++++++++++++++++++++++++++++ util.h | 1 + 4 files changed, 31 insertions(+), 4 deletions(-) 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