only:helping non-EFI_ENABLE_ASSERTS compilation
This commit is contained in:
parent
222a1d4d22
commit
c403a86f9b
|
@ -24,7 +24,7 @@
|
||||||
#if EFI_ENABLE_ASSERTS
|
#if EFI_ENABLE_ASSERTS
|
||||||
#define assertAngleRange(angle, msg, code) if (angle > 10000000 || angle < -10000000) { firmwareError(code, "angle range %s %.2f", msg, angle);angle = 0;}
|
#define assertAngleRange(angle, msg, code) if (angle > 10000000 || angle < -10000000) { firmwareError(code, "angle range %s %.2f", msg, angle);angle = 0;}
|
||||||
#else
|
#else
|
||||||
#define assertAngleRange(angle, msg, code) {}
|
#define assertAngleRange(angle, msg, code) {UNUSED(code);}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Shifts angle into the [0..720) range for four stroke and [0..360) for two stroke
|
// Shifts angle into the [0..720) range for four stroke and [0..360) for two stroke
|
||||||
|
|
Loading…
Reference in New Issue