mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 00:33:33 +08:00
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
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