mikalhart / TinyGPSPlus

A new, customizable Arduino NMEA parsing library
http://arduiniana.org
1.1k stars 494 forks source link

disabling checksums for test purposes #51

Closed arubli closed 6 years ago

arubli commented 6 years ago

I would like to know if it is possible to disable the checksum verification. I would like to send some test sentences to see if my project handles correctly some error conditions and if my DST subroutine is working. I am not a seasoned programmer... just sort of an advanced beginner

thank you

mikalhart commented 6 years ago

Hi. Yeah, I think if you just replace this line:

if (checksum == parity) with

if (true) ... it should work.