summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c
index a804879..f25a62d 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -1366,7 +1366,7 @@ int Set_Pwmode(int channel,int mode)
return InvalidChannel;
}
- if (!(globals.Flash.ab_mode_allowed[channel]) && (mode==pw_in_out)) {
+ if (!(globals.Flash.pw_ab_mode_enabled[channel]) && (mode==pw_in_out)) {
return SyntaxError;
}