summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.c b/flash.c
index 75c41fc..ee0ea17 100644
--- a/flash.c
+++ b/flash.c
@@ -40,7 +40,7 @@ void initFlash(FlashStruct *mem)
// much more needs to be added here - later
// save the default Flash config, for nonvolatile persistence
- writeUserBlock(mem, 0, sizeof(mem));
+ writeUserBlock(mem, 0, sizeof(*mem));
}