clang-format

This commit is contained in:
Joshua de Reeper 2025-01-29 21:35:37 +01:00
parent c3e4db92c3
commit 5310a1a035

View File

@ -15,8 +15,7 @@ namespace Libraries::Usbd {
s32 libusb_to_orbis_error(int retVal) {
if (retVal == LIBUSB_ERROR_OTHER)
return 0x802400FF;
if (retVal < 0)
{
if (retVal < 0) {
LOG_ERROR(Lib_Usbd, "libusb returned: {}", libusb_error_name(retVal));
return 0x80240000 - retVal;
}