From 54bbd8c592c1679c182dd7aad7860331ea8b4868 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 16 Aug 2012 15:07:11 -0400 Subject: fixed sizeof mem --- flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- cgit