Log

Dependents:   oldheating gps motorhome heating

Revision:
18:617791ed3d8e
Parent:
17:7acb89d71f48
Child:
19:14376c221aec
--- a/log.c	Thu Jun 27 21:19:33 2019 +0000
+++ b/log.c	Thu Jul 25 21:15:03 2019 +0000
@@ -222,10 +222,10 @@
     int i = 0;
     while(true)
     {
-        LogByteAsHex(value[size - 1 - i]); //Display big end first
+        LogByteAsHex(value[i]);
         i++;
         if (i >= size) break;
-        if (i % 32 == 0) Log("\r\n");
+        if (i % 16 == 0) Log("\r\n");
         else             LogChar(' ');
     }
 }