summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-02 17:09:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-02 17:09:25 +0000
commit91bc37410bc27d9d3c1c880e783f26f748f2e434 (patch)
tree3bba899b7f99e4632d1922bbe89c210b10f7cb7a /nuttx/arch/arm
parenta484bea877cdbc2256caadfa910ffdbc8b754e34 (diff)
downloadpx4-nuttx-91bc37410bc27d9d3c1c880e783f26f748f2e434.tar.gz
px4-nuttx-91bc37410bc27d9d3c1c880e783f26f748f2e434.tar.bz2
px4-nuttx-91bc37410bc27d9d3c1c880e783f26f748f2e434.zip
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
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/lpc43_spifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/lpc43_spifi.c b/nuttx/arch/arm/src/lpc43xx/lpc43_spifi.c
index e26d705b1..ad6ce0ad5 100644
--- a/nuttx/arch/arm/src/lpc43xx/lpc43_spifi.c
+++ b/nuttx/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 */