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:
Xiang Xiao 2022-10-24 01:44:00 +08:00 committed by Petro Karashchenko
parent 00d78a51e4
commit 4aad964d48

View File

@ -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 */