commit 31f776621931f69407ce90c12ca663539caac1a9
parent 9e76454d5f450f98bc7b0210d3c4a3c4d0b5da95
Author: Lukas F. Hartmann <lukas@mntre.com>
Date: Tue, 24 Oct 2023 13:57:42 +0200
keyboard-fw: mention on the OLED that firmware update mode is active
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/reform2-keyboard-fw/menu.c b/reform2-keyboard-fw/menu.c
@@ -162,6 +162,11 @@ int execute_meta_function(int keycode) {
gfx_flush();
}
else if (keycode == KEY_X) {
+ gfx_clear();
+ gfx_poke_str(1, 1, "Entered firmware");
+ gfx_poke_str(1, 2, "update mode.");
+ gfx_on();
+ gfx_flush();
jump_to_bootloader();
}
else if (keycode == KEY_L) {