diff --git a/arch/arm/src/sam34/sam4s_nand.c b/arch/arm/src/sam34/sam4s_nand.c index abe9c6000f..953a799457 100644 --- a/arch/arm/src/sam34/sam4s_nand.c +++ b/arch/arm/src/sam34/sam4s_nand.c @@ -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 */