aboutsummaryrefslogtreecommitdiff
path: root/spiflash_n25q128.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-07-24 22:55:19 -0400
committerPaul Selkirk <paul@psgd.org>2018-07-25 01:08:20 -0400
commitf424af5cfc62bf4e0902831591a303b02e31a1ca (patch)
treeaa338109bde6a82abde6abe30769cb62e04745bf /spiflash_n25q128.c
parent49939b9954926ccb4b31238ab186693c28fab5c5 (diff)
parent7e6a9f76d8a72dead4763fbb726cfd60fece7b03 (diff)
Merge branch 'hashsig'
Diffstat (limited to 'spiflash_n25q128.c')
-rw-r--r--spiflash_n25q128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spiflash_n25q128.c b/spiflash_n25q128.c
index 5e10185..df53f19 100644
--- a/spiflash_n25q128.c
+++ b/spiflash_n25q128.c
@@ -197,7 +197,7 @@ HAL_StatusTypeDef n25q128_write_page(struct spiflash_ctx *ctx, uint32_t page_off
}
-static int n25q128_erase_something(struct spiflash_ctx *ctx, uint8_t command, uint32_t byte_offset)
+static HAL_StatusTypeDef n25q128_erase_something(struct spiflash_ctx *ctx, uint8_t command, uint32_t byte_offset)
{
// check offset
if (byte_offset >= N25Q128_NUM_BYTES) return HAL_ERROR;