From 62248c5cde47fe691b9bcb18e4ed37c799bd025a Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Thu, 29 Jan 2009 08:26:30 +0100 Subject: [PATCH 1/1] show BOARD_DESCRIPTION only once when patching --- firmware.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/firmware.c b/firmware.c index da5635a..1542d39 100644 --- a/firmware.c +++ b/firmware.c @@ -208,15 +208,12 @@ void handle_boarddescription(unsigned char *fw, int len, int patch) continue; } - printf("0x%08x: BOARD_DESCRIPTION: ", pos-fw); - print_boarddescription(pos); - if (patch) { /* Enable ATX and relay power switching */ pos[22] |= 0x03; - printf("0x%08x: BOARD_DESCRIPTION: ", pos-fw); - print_boarddescription(pos); } + printf("0x%08x: BOARD_DESCRIPTION: ", pos-fw); + print_boarddescription(pos); break; } -- 2.39.5