summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-16 15:07:11 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-16 15:07:11 -0400
commit54bbd8c592c1679c182dd7aad7860331ea8b4868 (patch)
tree97598f6a4359b05fb835183cda4f89080d4ca0df /flash.c
parent2e41ddb6fe7b802a92787c77ce91ca792a32b1fa (diff)
fixed sizeof mem
Diffstat (limited to 'flash.c')
-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));
}