]> cvs.zerfleddert.de Git - rsbs2/blobdiff - firmware.c
how to flash
[rsbs2] / firmware.c
index da5635ad558430c79b38a77a2eabca2f0312bc5c..1542d39db53866804fd3a10d063df9b5b0f32864 100644 (file)
@@ -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;
                }
Impressum, Datenschutz