mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user