diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-20 13:07:39 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-25 21:36:51 +0000 |
commit | 5160c90690c6c3881eec1aa7392d1473c9f865b3 (patch) | |
tree | 14acd9467c4d9bbb90c91c864fa8f2323987a6c9 /bootloader/x1000/recovery.c | |
parent | 4cf36dfbf37edeb3f537296bb532008b8f206455 (diff) | |
download | rockbox-5160c90690c6c3881eec1aa7392d1473c9f865b3.tar.gz rockbox-5160c90690c6c3881eec1aa7392d1473c9f865b3.zip |
x1000: bootloader: add screenshot function
Screenshots of the recovery menu will be useful for documentation.
This can be disabled by turning off HAVE_BOOTLOADER_SCREENDUMP in
the target config file if the bootloader should ever run up against
max size limits.
Change-Id: I62ec1e465df2ca7a8a0e78625d88b31f6c4ef078
Diffstat (limited to 'bootloader/x1000/recovery.c')
-rw-r--r-- | bootloader/x1000/recovery.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/x1000/recovery.c b/bootloader/x1000/recovery.c index d70c3b9305..c53fa376b9 100644 --- a/bootloader/x1000/recovery.c +++ b/bootloader/x1000/recovery.c | |||
@@ -65,6 +65,9 @@ static const struct menuitem recovery_items[] = { | |||
65 | 65 | ||
66 | static const struct menuitem debug_menu_items[] = { | 66 | static const struct menuitem debug_menu_items[] = { |
67 | {MENUITEM_HEADING, "Debug tools", NULL}, | 67 | {MENUITEM_HEADING, "Debug tools", NULL}, |
68 | #ifdef HAVE_SCREENDUMP | ||
69 | {MENUITEM_ACTION, "Enable screenshots", &screenshot_enable}, | ||
70 | #endif | ||
68 | #ifdef OF_PLAYER_ADDR | 71 | #ifdef OF_PLAYER_ADDR |
69 | {MENUITEM_ACTION, "Dump OF player", &dump_of_player}, | 72 | {MENUITEM_ACTION, "Dump OF player", &dump_of_player}, |
70 | #endif | 73 | #endif |