From 1f05a3956071b34ef048d156f5e8a2771a9dcafd Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sat, 9 May 2020 02:32:01 -0400 Subject: [PATCH] Update usb.c --- source/usb.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/usb.c b/source/usb.c index ad7a87c..4f399ea 100644 --- a/source/usb.c +++ b/source/usb.c @@ -83,7 +83,8 @@ typedef enum { UsbStatusType_InvalidMagicWord = 4, UsbStatusType_UnsupportedCommand = 5, UsbStatusType_UnsupportedAbiVersion = 6, - UsbStatusType_HostIoError = 7 + UsbStatusType_MalformedCommand = 7, + UsbStatusType_HostIoError = 8 } UsbStatusType; typedef struct { @@ -433,6 +434,9 @@ NX_INLINE void usbLogStatusDetail(u32 status) case UsbStatusType_UnsupportedAbiVersion: LOGFILE("Host replied with Unsupported ABI Version status code."); break; + case UsbStatusType_MalformedCommand: + LOGFILE("Host replied with Malformed Command status code."); + break; case UsbStatusType_HostIoError: LOGFILE("Host replied with I/O Error status code."); break;