diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c index 3fb2f7296a..718c58972f 100644 --- a/payloads/coreinfo/coreinfo.c +++ b/payloads/coreinfo/coreinfo.c @@ -291,9 +291,8 @@ int main(void) { int i, j; -#if IS_ENABLED(CONFIG_LP_USB) - usb_initialize(); -#endif + if (IS_ENABLED(CONFIG_LP_USB)) + usb_initialize(); initscr();