diff options
author | Paul Selkirk <paul@psgd.org> | 2017-02-20 19:51:03 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-02-20 19:52:19 -0500 |
commit | 0c298a1c2d0ab40760bf38b27fec43d8b8f3afb5 (patch) | |
tree | d86ff70d09a6e422e005da8c2e780b3929ac79c0 /stm-keystore.c | |
parent | e9011a1ae42333fdcbebf9b85ced6ea942f3547c (diff) |
Move dangerous auto_erase functionality to where it's actually used.
Diffstat (limited to 'stm-keystore.c')
-rw-r--r-- | stm-keystore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-keystore.c b/stm-keystore.c index 633d554..86fad91 100644 --- a/stm-keystore.c +++ b/stm-keystore.c @@ -52,7 +52,7 @@ int keystore_read_data(uint32_t offset, uint8_t *buf, const uint32_t len) int keystore_write_data(uint32_t offset, const uint8_t *buf, const uint32_t len) { - return n25q128_write_data(&keystore_ctx, offset, buf, len, 0); + return n25q128_write_data(&keystore_ctx, offset, buf, len); } static int keystore_erase_something(uint32_t start, uint32_t stop, uint32_t limit, |