diff options
Diffstat (limited to 'payloads/coreinfo')
-rw-r--r-- | payloads/coreinfo/coreinfo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c index 7e8b201fb6..97538a07e4 100644 --- a/payloads/coreinfo/coreinfo.c +++ b/payloads/coreinfo/coreinfo.c @@ -271,6 +271,10 @@ int main(void) { int i, j; +#if defined(CONFIG_USB) + usb_initialize(); +#endif + initscr(); start_color(); @@ -292,6 +296,9 @@ int main(void) categories[i].modules[j]->init(); } + noecho(); /* don't let curses echo keyboard chars */ + keypad(stdscr, TRUE); /* allow KEY_F(n) keys to be seen */ + loop(); return 0; |