only:helping non-EFI_ENABLE_ASSERTS compilation

This commit is contained in:
Andrey 2023-11-02 09:55:22 -04:00
parent 222a1d4d22
commit c403a86f9b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
#if EFI_ENABLE_ASSERTS
#define assertAngleRange(angle, msg, code) if (angle > 10000000 || angle < -10000000) { firmwareError(code, "angle range %s %.2f", msg, angle);angle = 0;}
#else
#define assertAngleRange(angle, msg, code) {}
#define assertAngleRange(angle, msg, code) {UNUSED(code);}
#endif
// Shifts angle into the [0..720) range for four stroke and [0..360) for two stroke