NMEA2000 icon indicating copy to clipboard operation
NMEA2000 copied to clipboard

Some versions of round() dont behave as expected.

Open ieb opened this issue 2 years ago • 1 comments

https://github.com/ttlappalainen/NMEA2000/blob/c2de650e9abe943da7c87f6a6c03796c4f7b3234/src/N2kMsg.cpp#L587

eg https://github.com/SpenceKonde/megaTinyCore/issues/738

there may be other round macros that behave unexpectedly, round((value/precision)) should protect. I was seeing less precision that expected.

ieb avatar Jul 12 '22 17:07 ieb

This is now published.

ttlappalainen avatar Aug 11 '22 07:08 ttlappalainen