blob: 9f3abb3e093d67746343d91160c19e7baf694bc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include "dummy_functions.h"
#include "globals.h"
void Menu_Refresh() {}
void Menu_Update_Display() {}
void GPIB_Set_Command_Error() {}
void GPIB_Set_Query_Error() {}
void GPIB_Set_Device_Dependent_Error() {}
void GPIB_Set_Execution_Error() {}
void Main_update_shift_registers() { }
void Error_check(void* p) { }
int readUserBlock(FlashStruct mem)
{
// read the flash.copy file into the FlashStruct
// and return the number of bytes read in
// if the file does not exist, then "return 0";
return 0;
}
void writeUserBlock(FlashStruct mem, int addr, int numbytes)
{
// check if flash.copy file exists
// - if it does, update the requested address and
// number of bytes
// - if does not, create the file and
// set addr = 0, numbytes = sizeof (mem)
// so that entire struct will be written,
// instead of just the requested range
}
|