nicer fatal message if that ever happens

This commit is contained in:
Andrey 2022-09-28 19:47:14 -04:00
parent e3758dc7ce
commit 36113d6f66
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
#define wrapAngle2(angle, msg, code, engineCycle) \
{ \
if (cisnan(angle)) { \
firmwareError(CUSTOM_ERR_ANGLE, "aNaN%s", msg); \
firmwareError(CUSTOM_ERR_ANGLE, "a NaN %s", msg); \
angle = 0; \
} \
assertAngleRange(angle, msg, code); \