diff options
-rw-r--r-- | firmware/lib/vboot_display.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/lib/vboot_display.c b/firmware/lib/vboot_display.c index abf2d698..f3cb4d6e 100644 --- a/firmware/lib/vboot_display.c +++ b/firmware/lib/vboot_display.c @@ -607,8 +607,13 @@ VbError_t VbDisplayDebugInfo(struct vb2_context *ctx, VbCommonParams *cparams) VbError_t ret; uint32_t i; - /* Redisplay current screen to overwrite any previous debug output */ - VbDisplayScreen(ctx, cparams, disp_current_screen, 1); + /* Redisplay current screen to overwrite any previous debug output. + * Need to use VbDisplayMenu instead of VbDisplayScreen + * in order to ensure that the selected menu item is + * highlighted. On a non-detachable screen, this will be a + * no-op. + */ + VbDisplayMenu(ctx, cparams, disp_current_screen, 1, disp_current_index); /* Add hardware ID */ VbRegionReadHWID(cparams, hwid, sizeof(hwid)); |