diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-16 15:07:11 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-16 15:07:11 -0400 |
commit | 54bbd8c592c1679c182dd7aad7860331ea8b4868 (patch) | |
tree | 97598f6a4359b05fb835183cda4f89080d4ca0df | |
parent | 2e41ddb6fe7b802a92787c77ce91ca792a32b1fa (diff) |
fixed sizeof mem
-rw-r--r-- | flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } |