diff --git a/firmware/hw_layer/digital_input/digital_input_exti.cpp b/firmware/hw_layer/digital_input/digital_input_exti.cpp index af426170d8..c5100332c7 100644 --- a/firmware/hw_layer/digital_input/digital_input_exti.cpp +++ b/firmware/hw_layer/digital_input/digital_input_exti.cpp @@ -184,7 +184,7 @@ CH_IRQ_HANDLER(STM32_I2C1_EVENT_HANDLER) { if (timestamp != 0) { auto& channel = channels[entry.Channel]; - if (channel.Name) { + if (channel.Callback) { channel.Callback(channel.CallbackData, timestamp); } } else {