diff --git a/os/hal/ports/KINETIS/K20x/gpt_lld.c b/os/hal/ports/KINETIS/K20x/gpt_lld.c index 2503c2526..09d759bb7 100644 --- a/os/hal/ports/KINETIS/K20x/gpt_lld.c +++ b/os/hal/ports/KINETIS/K20x/gpt_lld.c @@ -294,7 +294,7 @@ void gpt_lld_stop(GPTDriver *gptp) { #endif #if KINETIS_GPT_USE_PIT3 if (&GPTD4 == gptp) { - nvicDisableVector(PITChannel4_IRQn); + nvicDisableVector(PITChannel3_IRQn); } #endif }