From 9129bc90555161cf3fc6a8489bc0da4628556b99 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 2 Aug 2012 17:09:25 +0000 Subject: [PATCH] The initial SYLOG device logic was valiant but yet still not enough git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4998 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lpc43xx/lpc43_spifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/lpc43xx/lpc43_spifi.c b/arch/arm/src/lpc43xx/lpc43_spifi.c index e26d705b14..ad6ce0ad51 100644 --- a/arch/arm/src/lpc43xx/lpc43_spifi.c +++ b/arch/arm/src/lpc43xx/lpc43_spifi.c @@ -563,7 +563,7 @@ static FAR uint8_t *lpc43_cacheread(struct lpc43_dev_s *priv, off_t sector) /* Read the new erase block into the cache */ /* Get the SPIFI address corresponding to the new erase block */ - src = SPIFI_BASE + ((off_t)blkno << SPIFI_BLKSHIFT); + src = SPIFI_BASE + (blkno << SPIFI_BLKSHIFT); /* Read the entire erase block from FLASH */