NMEA: replace snprintf nmea::format for unsigned int
commit7e5fee7877b192e031d773317ed05d7aa8d4eaa5
authorMario Konrad <mario.konrad@gmx.net>
Tue, 17 Jan 2023 13:21:53 +0000 (17 14:21 +0100)
committerMario Konrad <mario.konrad@gmx.net>
Thu, 19 Jan 2023 07:15:40 +0000 (19 08:15 +0100)
tree76f8f4d6199e6cc9f65cfec5c86cda1c6018cd42
parent8ed0670c2d60fa5ab957d94793eba88dc33d7bc6
NMEA: replace snprintf nmea::format for unsigned int

Apparently there is an issue with snprintf on GCC for ARM rendering
64bit values. This replacement works for all targets the same and it is
faster anyways. Certainly not the theoretically fastest implementation
for any given platform, but for this purpose good enough.
CMakePresets.json
src/marnav/nmea/io.cpp
test/CMakeLists.txt
test/marnav/nmea/Benchmark_nmea_format.cpp [new file with mode: 0644]
test/marnav/nmea/Test_nmea_format.cpp [new file with mode: 0644]