aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2015-11-03 10:29:49 +0000
committerFabio Utzig <utzig@utzig.org>2015-11-03 10:29:49 +0000
commitc1d68c3bfd34701893feb8f4b938e3ff9a2df1e8 (patch)
treed4665b4f144db48365df10e3fe26350efe15b6c6
parentad4a9e2fe354d26a26fff80e3d0308fb1c5327cb (diff)
downloadChibiOS-c1d68c3bfd34701893feb8f4b938e3ff9a2df1e8.tar.gz
ChibiOS-c1d68c3bfd34701893feb8f4b938e3ff9a2df1e8.tar.bz2
ChibiOS-c1d68c3bfd34701893feb8f4b938e3ff9a2df1e8.zip
[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
-rw-r--r--os/hal/ports/KINETIS/K20x/gpt_lld.c2
1 files changed, 1 insertions, 1 deletions
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
}