aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-02 17:09:25 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-08-02 17:09:25 +0000
commit30e820d86135f14ae495598cf5c4e236a4de36b7 (patch)
tree3bba899b7f99e4632d1922bbe89c210b10f7cb7a /nuttx/arch
parent757383d8193d4a37cd380b7ba6232552a531fc9c (diff)
downloadpx4-firmware-30e820d86135f14ae495598cf5c4e236a4de36b7.tar.gz
px4-firmware-30e820d86135f14ae495598cf5c4e236a4de36b7.tar.bz2
px4-firmware-30e820d86135f14ae495598cf5c4e236a4de36b7.zip
The initial SYLOG device logic was valiant but yet still not enough
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4998 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch')
-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 */