From: Michael Gernoth Date: Thu, 29 Jan 2009 07:26:30 +0000 (+0100) Subject: show BOARD_DESCRIPTION only once when patching X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/commitdiff_plain/62248c5cde47fe691b9bcb18e4ed37c799bd025a show BOARD_DESCRIPTION only once when patching --- 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; }