summaryrefslogtreecommitdiff
path: root/flash.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:31:13 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 13:31:13 -0400
commitb72469c072514317602d1345b3d19e2375a90ab5 (patch)
tree120ab9fde332c9d645500d8977471d066d9228ff /flash.h
parent6289747b35eef38cca5d5d3076b4ec6d33f9053f (diff)
added diag:eprom:reset
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index 183e932..d4658ee 100644
--- a/flash.h
+++ b/flash.h
@@ -2,8 +2,9 @@
#define FLASH_H_
#include "globals.h"
+#include <glib.h>
-void initFlash(FlashStruct *mem, int starting_location);
+void initFlash(FlashStruct *mem, gboolean reset_to_defaults, int starting_location);
int readUserBlock(FlashStruct *mem);
void writeUserBlock(FlashStruct *mem, int addr, int numbytes);