update modes
This commit is contained in:
@@ -50,6 +50,7 @@ XUD_Result_t HidInterfaceClassRequests(
|
||||
#endif
|
||||
#if DEBUG_MEMORY_LOG_ENABLED
|
||||
unsigned log_switch;
|
||||
buffer[0] = 0x1;
|
||||
|
||||
GET_SHARED_GLOBAL(log_switch, g_log_switch);
|
||||
if (log_switch) {
|
||||
@@ -57,16 +58,7 @@ XUD_Result_t HidInterfaceClassRequests(
|
||||
UserReadHIDLog(&buffer[1]);
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
debug_printf("%d:\n", ret_len);
|
||||
for(int i=0; i < ret_len; i++)
|
||||
{
|
||||
printhex((buffer, unsigned char[])[i]);
|
||||
printstr("-");
|
||||
}
|
||||
printstrln("\n");
|
||||
#endif
|
||||
return XUD_DoGetRequest(c_ep0_out, c_ep0_in, (buffer, unsigned char []), ret_len, sp.wLength);
|
||||
return XUD_DoGetRequest(c_ep0_out, c_ep0_in, (buffer, unsigned char []), ret_len, sp.wLength);
|
||||
break;
|
||||
case HID_GET_IDLE:
|
||||
/* Do nothing - i.e. STALL */
|
||||
|
||||
Reference in New Issue
Block a user