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
This commit is contained in:
parent
ae57a10093
commit
9129bc9055
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue