[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-d51de3d6d3f4master
parent
ad4a9e2fe3
commit
c1d68c3bfd
|
@ -294,7 +294,7 @@ void gpt_lld_stop(GPTDriver *gptp) {
|
||||||
#endif
|
#endif
|
||||||
#if KINETIS_GPT_USE_PIT3
|
#if KINETIS_GPT_USE_PIT3
|
||||||
if (&GPTD4 == gptp) {
|
if (&GPTD4 == gptp) {
|
||||||
nvicDisableVector(PITChannel4_IRQn);
|
nvicDisableVector(PITChannel3_IRQn);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue