Skip to content
Commit 2851959d authored by Sebastien Lorquet's avatar Sebastien Lorquet Committed by Gregory Nutt
Browse files

MTD M2PX: If we READ while a write/erase is pending, the command is ignored...

MTD M2PX: If we READ while a write/erase is pending, the command is ignored and the write/erase continues. If we dont catch this situation we will return garbage to the user because the flash will not execute the command.  So READ MUST wait for write completion, and before that, the bus must be locked since it's a precondition to calling waitwritecomplete().
parent d35a060a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment