diff options
author | Paul Selkirk <paul@psgd.org> | 2017-02-19 14:14:10 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-02-19 17:58:57 -0500 |
commit | 742cbe3d4090d62ee5f871e487ce88145d12c04e (patch) | |
tree | 3232ea6814a624c482a22f20b0eb250b983cba9b /spiflash_n25q128.c | |
parent | 1dc664a90471f165855c737c5ae649d01897b2d6 (diff) |
Simplify spiflash test code slightly, add keystore test code.
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); } |