Fixed to M25P driver from Ken Pettit plus some documentation updates
This commit is contained in:
parent
8757465df2
commit
345c592258
@ -8,7 +8,7 @@
|
||||
<tr align="center" bgcolor="#e4e4e4">
|
||||
<td>
|
||||
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
|
||||
<p>Last Updated: April 28, 2013</p>
|
||||
<p>Last Updated: May 3, 2013</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -449,6 +449,15 @@
|
||||
</li>
|
||||
</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
<td>
|
||||
<p>
|
||||
<li>
|
||||
SMART. FLASH file system from Ken Pettit.
|
||||
</li>
|
||||
</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
<td>
|
||||
|
@ -704,7 +704,7 @@ static int m25p_erase(FAR struct mtd_dev_s *dev, off_t startblock, size_t nblock
|
||||
{
|
||||
/* Do a full sector erase */
|
||||
|
||||
m25p_sectorerase(priv, startblock / blkper, M25P_SE);
|
||||
m25p_sectorerase(priv, startblock, M25P_SE);
|
||||
startblock += blkper;
|
||||
blocksleft -= blkper;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user