summaryrefslogtreecommitdiff
path: root/dummy_functions.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-16 09:23:01 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-16 09:23:01 -0400
commitb4217b23f5b8ba5eedf0bc7354cea76d0575de3a (patch)
treeeb48d72209899c8962356fb54bf3ae279f94845f /dummy_functions.h
parentc210f9167be5bb4b8ac63faf1817e086c8d94ed7 (diff)
make flash struct an argument to the flash read/write functions
Diffstat (limited to 'dummy_functions.h')
-rw-r--r--dummy_functions.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dummy_functions.h b/dummy_functions.h
index f72ba6a..a00569f 100644
--- a/dummy_functions.h
+++ b/dummy_functions.h
@@ -1,6 +1,8 @@
#ifndef DUMMY_FUNCTIONS_H_
#define DUMMY_FUNCTIONS_H_
+#include "globals.h"
+
void Menu_Refresh();
void Menu_Update_Display();
void GPIB_Set_Command_Error();
@@ -9,5 +11,6 @@ void GPIB_Set_Device_Dependent_Error();
void GPIB_Set_Execution_Error();
void Main_update_shift_registers();
void Error_check(void*);
-void writeUserBlock(int addr, int numbytes);
+int readUserBlock(FlashStruct mem);
+void writeUserBlock(FlashStruct mem, int addr, int numbytes);
#endif