silenius

Untitled

Feb 11th, 2021
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1.  
  2. uint8_t i = 1
  3. while(nmea[i] != NULL){
  4. sum ^= nmea[i];
  5. i++;
  6. }
  7.  
  8. for (uint8_t i = 1; i < 100; i++) {
  9. if (nmea[i] != NULL) {
  10. sum ^= nmea[i];
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment