From c403a86f9bfef65f92c0880bdb691f07f0d960df Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 2 Nov 2023 09:55:22 -0400 Subject: [PATCH] only:helping non-EFI_ENABLE_ASSERTS compilation --- firmware/controllers/trigger/decoders/trigger_structure.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/trigger/decoders/trigger_structure.h b/firmware/controllers/trigger/decoders/trigger_structure.h index 9c04adee48..5c5183c45e 100644 --- a/firmware/controllers/trigger/decoders/trigger_structure.h +++ b/firmware/controllers/trigger/decoders/trigger_structure.h @@ -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