diff --git a/src/usbh_driver_gp_xbox.c b/src/usbh_driver_gp_xbox.c index f1525c4..1b1d895 100644 --- a/src/usbh_driver_gp_xbox.c +++ b/src/usbh_driver_gp_xbox.c @@ -77,8 +77,8 @@ void gp_xbox_driver_init(const gp_xbox_config_t *config) static void *init(void *usbh_dev) { if (!initialized) { - LOG_PRINTF("driver not initialized"); - return false; + LOG_PRINTF("\n%s/%d : driver not initialized\r\n", __FILE__, __LINE__); + return 0; } uint32_t i;