]> git.zerfleddert.de Git - fnordlicht-mini/commitdiff
fix byte sex
authorgitknilch <gitknilch@cwde.de>
Fri, 25 Mar 2011 13:50:41 +0000 (14:50 +0100)
committergitknilch <gitknilch@cwde.de>
Fri, 25 Mar 2011 13:50:41 +0000 (14:50 +0100)
firmware/tools/fixcrc.c

index 4b3f61694a93634c5a3fd8f9137bc5c65a76158c..3d7fefb012b950c56225f494ee102e5c800289a2 100644 (file)
@@ -39,8 +39,8 @@ int main(int argc, char ** argv)
             return 2;
         }
     }
             return 2;
         }
     }
-    putchar(checksum >> 8);
     putchar(checksum & 0xff);
     putchar(checksum & 0xff);
+    putchar(checksum >> 8);
 
     return 0;
 }
 
     return 0;
 }
Impressum, Datenschutz