diff options
Diffstat (limited to 'flash.c')
-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)); } |