Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sdk:gps-udp-client-gnsstogps [2019/07/09 15:52]
fachet
sdk:gps-udp-client-gnsstogps [2019/07/12 13:19] (current)
fachet
Line 70: Line 70:
  chars = explode(s);  chars = explode(s);
         for (i = 1; i < pos; i++) { /* skip $ and *XX */          for (i = 1; i < pos; i++) { /* skip $ and *XX */ 
-     ​printf("​ %s ", chars[i]);​ +     c = ord(chars[i]);​
-            ​c = ord(chars[i]);​+
             cs ^= c;             cs ^= c;
         }         }