clean up warnings

This commit is contained in:
hathach
2018-04-20 13:42:06 +07:00
parent ba223b2a05
commit ec28d0d0da
2 changed files with 3 additions and 5 deletions

View File

@@ -114,6 +114,8 @@ bool tusb_hal_init(void)
.handler = (nrf_drv_power_usb_event_handler_t) power_usb_event_handler
};
return ( NRF_SUCCESS == nrf_drv_power_usbevt_init(&config) );
#else
return true;
#endif
}
}