Commit 128bdd13 authored by minute's avatar minute
Browse files

kbd: hide kbd power-off menu item

parent 7bc3deca
......@@ -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 },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment