diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-16 11:32:25 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-16 11:32:25 -0400 |
commit | 53b0084de1e0b3cdb94fd345a03911f80ebcb784 (patch) | |
tree | b757518dbaf8b3845fb34d6a22cbef00301dd3fa /dummy_functions.c | |
parent | 51aec80f5b733b25e0875e22f82537fd31eb4ee4 (diff) |
add function to initialize Flash
Diffstat (limited to 'dummy_functions.c')
-rw-r--r-- | dummy_functions.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dummy_functions.c b/dummy_functions.c index 9f3abb3..1d36581 100644 --- a/dummy_functions.c +++ b/dummy_functions.c @@ -10,23 +10,3 @@ 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 -} |