From: gitknilch Date: Fri, 25 Mar 2011 13:50:41 +0000 (+0100) Subject: fix byte sex X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/fnordlicht-mini/commitdiff_plain/2eadb723b619a7d45e68a73390da9bf339c61510 fix byte sex --- diff --git a/firmware/tools/fixcrc.c b/firmware/tools/fixcrc.c index 4b3f616..3d7fefb 100644 --- a/firmware/tools/fixcrc.c +++ b/firmware/tools/fixcrc.c @@ -39,8 +39,8 @@ int main(int argc, char ** argv) return 2; } } - putchar(checksum >> 8); putchar(checksum & 0xff); + putchar(checksum >> 8); return 0; }