mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-12 19:04:59 +00:00
Add a tiny bit of debugging output.
BUG=none TEST=none Change-Id: Ic20efadaf4c1e9e5e98734ccaa60050c0f04a906 Signed-off-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
@@ -336,10 +336,13 @@ int keyboard_scan_init(void)
|
||||
|
||||
#ifdef CONFIG_FAKE_DEV_SWITCH
|
||||
/* Turn fake dev switch on if D pressed, off if F pressed. */
|
||||
if (check_boot_key(MASK_INDEX_D, MASK_VALUE_D))
|
||||
if (check_boot_key(MASK_INDEX_D, MASK_VALUE_D)) {
|
||||
eoption_set_bool(EOPTION_BOOL_FAKE_DEV, 1);
|
||||
else if (check_boot_key(MASK_INDEX_F, MASK_VALUE_F))
|
||||
CPUTS("[Enabling fake dev-mode]\n");
|
||||
} else if (check_boot_key(MASK_INDEX_F, MASK_VALUE_F)) {
|
||||
eoption_set_bool(EOPTION_BOOL_FAKE_DEV, 0);
|
||||
CPUTS("[Disabling fake dev-mode]\n");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user