summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r--mdk-stage1/tools.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 45cafcfad..6c47b193d 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -187,6 +187,12 @@ void unset_param(int i)
stage1_mode &= ~i;
}
+void unset_automatic(void)
+{
+ log_message("unsetting automatic");
+ unset_param(MODE_AUTOMATIC);
+}
+
// warning, many things rely on the fact that:
// - when failing it returns 0
// - it stops on first non-digit char