diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index fcb9fcd75e..4faa42636e 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -798,9 +798,9 @@ static void resetRunningTriggerCounters() { } void onConfigurationChangeTriggerCallback() { + static_assert(std::extent::value == std::extent::value); + bool changed = false; - // todo: how do we static_assert here? - efiAssertVoid(OBD_PCM_Processor_Fault, efi::size(engineConfiguration->camInputs) == efi::size(engineConfiguration->vvtOffsets), "sizes"); for (size_t camIndex = 0; camIndex < efi::size(engineConfiguration->camInputs); camIndex++) { changed |= isConfigurationChanged(camInputs[camIndex]);