Commit adea58a786fb6ad9807dcfc8efbcc3e9e1382bde

Con Kolivas 2013-11-30T10:43:39

Add hfa op usb notice macros.

diff --git a/driver-hashfast.c b/driver-hashfast.c
index aeb4436..7d3ba10 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -90,7 +90,8 @@ static const struct hfa_cmd hfa_cmds[] = {
 	{OP_GWQ_STATUS, "OP_GWQ_STATUS", C_HF_GWQ_STATUS},
 	{OP_WORK_RESTART, "OP_WORK_RESTART", C_HF_WORK_RESTART},
 	{OP_USB_STATS1, "OP_USB_STATS1", C_NULL},
-	{OP_USB_GWQSTATS, "OP_USB_GWQSTATS", C_HF_GWQSTATS}
+	{OP_USB_GWQSTATS, "OP_USB_GWQSTATS", C_HF_GWQSTATS},
+	{OP_USB_NOTICE, "OP_USB_NOTICE", C_HF_NOTICE}
 };
 
 #define HF_USB_CMD_OFFSET (128 - 18)
diff --git a/usbutils.h b/usbutils.h
index 035f83e..eda3c08 100644
--- a/usbutils.h
+++ b/usbutils.h
@@ -365,6 +365,7 @@ struct cg_usb_info {
 	USB_ADD_COMMAND(C_HF_GWQ_STATUS, "HFGWQStatus") \
 	USB_ADD_COMMAND(C_HF_WORK_RESTART, "HFWorkRestart") \
 	USB_ADD_COMMAND(C_HF_GWQSTATS, "HFGWQStats") \
+	USB_ADD_COMMAND(C_HF_NOTICE, "HFNotice") \
 	USB_ADD_COMMAND(C_HF_GETHEADER, "HFGetHeader") \
 	USB_ADD_COMMAND(C_HF_GETDATA, "HFGetData") \
 	USB_ADD_COMMAND(C_HF_CLEAR_READ, "HFClearRead")