mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
flash: drop the unused status variable from flash_read_bulk()
Since #427 the busy wait calls flash_read_status() directly, so the local it used to go through is no longer read anywhere.
This commit is contained in:
1 parent
e0df37f359
commit
3b3f36256c
1 file changed
-2
@@ -221,8 +221,6 @@ void flash_read_jedecid(void)
|
|||||||
*/
|
*/
|
||||||
void flash_read_bulk(__xdata uint8_t *dst)
|
void flash_read_bulk(__xdata uint8_t *dst)
|
||||||
{
|
{
|
||||||
short status;
|
|
||||||
|
|
||||||
if (!flash_region.len)
|
if (!flash_region.len)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user