summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 10:15:36 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-24 10:15:36 -0400
commitc116bc537041827e438cec9d49c5249c33f0377e (patch)
treeb60d09aa46abcdfe3fa63a293d1fb4398c9f54a9 /flash.c
parent3764cf19983e58a471ac0359509ca81b60526ce3 (diff)
fix attempt at full set of device functions
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.c b/flash.c
index a2fcdc3..48e180e 100644
--- a/flash.c
+++ b/flash.c
@@ -290,7 +290,7 @@ void writeUserBlock(FlashStruct *mem, int addr, int numbytes)
// *** that the main file is valid before backing it up I guess... ***
// *** but I don't think this situation should arise. ***
- if (!globals.flash_writes_suspended) {
+ if (!globals.Flags.flash_writes_suspended) {
// backup the main copy of the file
if (persistence_copyfile(MAINFILE, BACKUPFILE)) {