add memory debug
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "xud_std_requests.h"
|
||||
#include "xua_hid.h"
|
||||
#include "xua_hid_report.h"
|
||||
#include "user_hid.h"
|
||||
|
||||
#define DEBUG_UNIT HID_XC
|
||||
#define DEBUG_PRINT_ENABLE_HID_XC 0
|
||||
@@ -42,6 +43,10 @@ XUD_Result_t HidInterfaceClassRequests(
|
||||
|
||||
buffer[0] = 0x1;
|
||||
process_read_params(&buffer[1]);
|
||||
#if DEBUG_MEMORY_LOG_ENABLED
|
||||
ret_len = 65;
|
||||
UserReadHIDLog(&buffer[1]);
|
||||
#endif
|
||||
#if 0
|
||||
debug_printf("%d:\n", ret_len);
|
||||
for(int i=0; i < ret_len; i++)
|
||||
|
||||
Reference in New Issue
Block a user