summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
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)) {