aboutsummaryrefslogtreecommitdiff
path: root/stm-flash.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-02-22 14:11:12 -0500
committerPaul Selkirk <paul@psgd.org>2017-02-22 17:45:31 -0500
commit189df371631a2b7bef91803d449e47470ad6a7bf (patch)
tree1986828d38cdd6507c96640f6370b433be720892 /stm-flash.c
parent56fcfdf3bec384a74eb9deb070f342142bbacff3 (diff)
Refactor flash code.
Diffstat (limited to 'stm-flash.c')
-rw-r--r--stm-flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-flash.c b/stm-flash.c
index fc79ea0..4456f44 100644
--- a/stm-flash.c
+++ b/stm-flash.c
@@ -70,7 +70,7 @@ uint32_t flash_sector_offsets[FLASH_NUM_SECTORS + 1] = {
0x08200000 /* first address *after* flash */
};
-int stm_flash_sector_num(const uint32_t offset)
+static int stm_flash_sector_num(const uint32_t offset)
{
int i;