From: asterix Date: Wed, 28 Sep 2011 13:40:11 +0000 (+0000) Subject: Disable proof. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=8a5cb391f6130a8e8de0ae5323ce7004054327f2;p=bertos.git Disable proof. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5108 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/hsmci_sam3.c b/bertos/cpu/cortex-m3/drv/hsmci_sam3.c index d0b0c396..a4960fb5 100644 --- a/bertos/cpu/cortex-m3/drv/hsmci_sam3.c +++ b/bertos/cpu/cortex-m3/drv/hsmci_sam3.c @@ -161,9 +161,7 @@ void hsmci_setSpeed(uint32_t data_rate, int flag) else HSMCI_CFG &= ~BV(HSMCI_CFG_HSMODE); - HSMCI_DTOR = 0xF8 | HSMCI_DTOR_DTOMUL_1; - HSMCI_CSTOR = 0xF8 | HSMCI_CSTOR_CSTOMUL_1; - HSMCI_MR = HSMCI_CLK_DIV(data_rate) | BV(HSMCI_MR_RDPROOF) | BV(HSMCI_MR_WRPROOF); + HSMCI_MR = HSMCI_CLK_DIV(data_rate); timer_delay(10); } @@ -181,7 +179,7 @@ void hsmci_init(Hsmci *hsmci) HSMCI_DTOR = 0xFF | HSMCI_DTOR_DTOMUL_1048576; HSMCI_CSTOR = 0xFF | HSMCI_CSTOR_CSTOMUL_1048576; - HSMCI_MR = HSMCI_CLK_DIV(HSMCI_INIT_SPEED) | BV(HSMCI_MR_RDPROOF) | BV(HSMCI_MR_WRPROOF); + HSMCI_MR = HSMCI_CLK_DIV(HSMCI_INIT_SPEED); HSMCI_CFG = BV(HSMCI_CFG_FIFOMODE) | BV(HSMCI_CFG_FERRCTRL); HSMCI_CR = BV(HSMCI_CR_MCIEN);