#29 comment typo

pull/32/head
Geoffrey Merck 3 years ago
parent d05a5af884
commit 39057bb6e3

@ -58,7 +58,7 @@ unsigned char CNMEASentenceCollector::calcXOR(const std::string& nmea)
unsigned char res = 0U; unsigned char res = 0U;
if(!nmea.empty()) { if(!nmea.empty()) {
unsigned int i = nmea[0] == '$' ? 1U : 0U; //skip $ it it is there unsigned int i = nmea[0] == '$' ? 1U : 0U; //skip $ if it is there
while(i < nmea.length()) while(i < nmea.length())
{ {
if(nmea[i] != '*') { if(nmea[i] != '*') {

Loading…
Cancel
Save

Powered by TurnKey Linux.