Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
rufform
reform
Commits
128bdd13
Commit
128bdd13
authored
Sep 27, 2021
by
minute
Browse files
kbd: hide kbd power-off menu item
parent
7bc3deca
Changes
1
Hide whitespace changes
Inline
Side-by-side
reform2-keyboard-fw/Keyboard.c
View file @
128bdd13
...
...
@@ -409,6 +409,7 @@ void remote_check_for_low_battery(void) {
// The keyboard will then go to sleep accordingly.
EnterPowerOff
();
reset_keyboard_state
();
}
remote_som_power_expected_state
=
is_computer_on
;
}
...
...
@@ -546,7 +547,7 @@ const MenuItem menu_items[] = {
{
"System Status s"
,
KEY_S
}
};
#else
#define MENU_NUM_ITEMS
10
#define MENU_NUM_ITEMS
9
const
MenuItem
menu_items
[]
=
{
{
"Exit Menu ESC"
,
KEY_ESCAPE
},
{
"Power On 1"
,
KEY_1
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment