firmware_common: Added command ID for reading FW log entries
This commit is contained in:
parent
d2ff39f207
commit
ff6f2b1cf1
2 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#define BLADE_USB_CMD_REFRESH_CAL_CACHE 112
|
||||
#define BLADE_USB_CMD_SET_LOOPBACK 113
|
||||
#define BLADE_USB_CMD_GET_LOOPBACK 114
|
||||
#define BLADE_USB_CMD_READ_LOG_ENTRY 115
|
||||
|
||||
/* String descriptor indices */
|
||||
#define BLADE_USB_STR_INDEX_MFR 1 /* Manufacturer */
|
||||
|
|
|
|||
|
|
@ -607,6 +607,10 @@ CyBool_t NuandHandleVendorRequest(
|
|||
CyU3PDeviceReset(CyFalse);
|
||||
break;
|
||||
|
||||
case BLADE_USB_CMD_READ_LOG_ENTRY:
|
||||
CyU3PUsbSendRetCode(logger_read());
|
||||
break;
|
||||
|
||||
default:
|
||||
isHandled = CyFalse;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue