From 33a10e4f938f99f71ddeb65d71fe59efef1ae8b0 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 7 Mar 2011 16:03:03 -0500 Subject: Slightly faster RAM writes (6.5MHz). --- libmaple/fsmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmaple') diff --git a/libmaple/fsmc.c b/libmaple/fsmc.c index 61fd06c..42e0eb1 100644 --- a/libmaple/fsmc.c +++ b/libmaple/fsmc.c @@ -99,7 +99,7 @@ void fsmc_native_sram_init(void) { /* FIXME replace with macros from fsmc.h */ bank->BCR = (1 << 12) | (1 << 4) | 1; - bank->BTR = (0xF << 16) | (0x3 << 8) | 1; + bank->BTR = (3 << 8); /* (FSMC_BWTR3 not used for this simple configuration.) */ } -- cgit v1.2.3