diff options
Diffstat (limited to 'spiflash_n25q128.c')
-rw-r--r-- | spiflash_n25q128.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spiflash_n25q128.c b/spiflash_n25q128.c index 68f96f1..371bef2 100644 --- a/spiflash_n25q128.c +++ b/spiflash_n25q128.c @@ -220,7 +220,7 @@ inline int _wait_while_wip(struct spiflash_ctx *ctx, uint32_t timeout) int i; while (timeout--) { i = n25q128_get_wip_flag(ctx); - if (i < 0) return 0; // impossible + if (i < 0) return 0; if (! i) break; HAL_Delay(10); } |