Fix sam4s_nand.c:152:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
00d78a51e4
commit
4aad964d48
@ -149,7 +149,10 @@ static int nand_wait_ready(struct sam_nandcs_s *priv)
|
||||
|
||||
/* The ready/busy (R/nB) signal of the NAND Flash */
|
||||
|
||||
while (!sam_gpioread(priv->rb));
|
||||
while (!sam_gpioread(priv->rb))
|
||||
{
|
||||
}
|
||||
|
||||
WRITE_COMMAND8(&priv->raw, COMMAND_STATUS);
|
||||
|
||||
/* Issue command */
|
||||
|
Loading…
Reference in New Issue
Block a user