From ec3b767aaaf47b1cb0cb0777f221749b41a184bc Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 10 Jun 2024 23:47:57 -0400 Subject: [PATCH] compile-time enforcement of printf strings only:uaefi --- firmware/hw_layer/digital_input/trigger/trigger_input_adc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/hw_layer/digital_input/trigger/trigger_input_adc.cpp b/firmware/hw_layer/digital_input/trigger/trigger_input_adc.cpp index 3143fd0745..a7e4300033 100644 --- a/firmware/hw_layer/digital_input/trigger/trigger_input_adc.cpp +++ b/firmware/hw_layer/digital_input/trigger/trigger_input_adc.cpp @@ -116,7 +116,7 @@ int adcTriggerTurnOnInputPin(const char *msg, int index, bool isTriggerShaft) { triggerInputPin = getHwPin("trg", brainPin); ioline_t pal_line = PAL_LINE(triggerInputPort, triggerInputPin); - efiPrintf("turnOnTriggerInputPin %s l=%d", hwPortname(brainPin), pal_line); + efiPrintf("turnOnTriggerInputPin %s l=%ld", hwPortname(brainPin), pal_line); if (efiExtiEnablePin(msg, brainPin, PAL_EVENT_MODE_BOTH_EDGES, isTriggerShaft ? shaft_callback : cam_callback, (void *)pal_line) < 0) {