From c1d68c3bfd34701893feb8f4b938e3ff9a2df1e8 Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Tue, 3 Nov 2015 10:29:49 +0000 Subject: [PATCH] [KINETIS] Fixed issue with PIT channel IRQ on stop git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8428 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/KINETIS/K20x/gpt_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }