From b244501b670d8e2465adbaef831f943c99773577 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Fri, 11 Aug 2006 09:16:03 +0000 Subject: add REG_MAX definition git-svn-id: https://svn.openpcd.org:2342/trunk@102 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/include/openpcd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openpcd/firmware/include/openpcd.h b/openpcd/firmware/include/openpcd.h index a6831dd..dee30c6 100644 --- a/openpcd/firmware/include/openpcd.h +++ b/openpcd/firmware/include/openpcd.h @@ -13,6 +13,8 @@ struct openpcd_hdr { u_int8_t data[0]; } __attribute__ ((packed)); +#define OPENPCD_REG_MAX 0x3f + #define OPENPCD_CMD_WRITE_REG 0x01 #define OPENPCD_CMD_WRITE_FIFO 0x02 #define OPENPCD_CMD_WRITE_VFIFO 0x03 -- cgit v1.2.3