compile-time enforcement of printf strings

only:uaefi
This commit is contained in:
Andrey 2024-06-10 23:47:57 -04:00 committed by rusefillc
parent dc3a78389b
commit ec3b767aaa
1 changed files with 1 additions and 1 deletions

View File

@ -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) {