Fix return to main when setting an autoboot option

This fixes the issue with "More configs".
This commit is contained in:
Kostas Missos committed 2018-12-16 20:21:59 +02:00
1 parent 98d715243a
commit 9f5b97620a
3 files changed
+11 -8

No files matched your search

+1
View File
@@ -322,6 +322,7 @@ void menu_autorcm()
ments[4].handler = _disable_autorcm;
}
ments[4].type = MENT_HDLR_RE;
ments[4].data = NULL;
memset(&ments[5], 0, sizeof(ment_t));
menu_t menu = {ments, "This corrupts your BOOT0!", 0, 0};