Fixed wrong MCF_GPT0_GMS initialization.

This commit is contained in:
Vincent Rivière
2012-10-22 19:44:57 +00:00
parent 1e18dd8af8
commit a2790b1222

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_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */
MCF_GPT_GMS_IEN | MCF_GPT_GMS_IEN |
MCF_GPT_GMS(1); MCF_GPT_GMS_TMS(1);
MCF_INTC_ICR62 = 0x3f; MCF_INTC_ICR62 = 0x3f;
* (uint8_t *) 0xf0010004 = 0xfe; /* enable int 1-7 */ * (uint8_t *) 0xf0010004 = 0xfe; /* enable int 1-7 */