Fixed wrong MCF_GPT0_GMS initialization.

This commit is contained in:
Vincent Rivière
2012-10-22 19:44:57 +00:00
parent 5e6ca2b6ce
commit a4d461898e

View File

@@ -87,7 +87,7 @@ void BaS(void)
MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */
MCF_GPT_GMS_IEN |
MCF_GPT_GMS(1);
MCF_GPT_GMS_TMS(1);
MCF_INTC_ICR62 = 0x3f;
* (uint8_t *) 0xf0010004 = 0xfe; /* enable int 1-7 */