diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-11 09:16:03 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-11 09:16:03 +0000 |
commit | b244501b670d8e2465adbaef831f943c99773577 (patch) | |
tree | f7fd0f54934a428cb29d191a16434558cfdefc34 | |
parent | 174e64035c7266160c5662d906f135987fc70986 (diff) |
add REG_MAX definition
git-svn-id: https://svn.openpcd.org:2342/trunk@102 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r-- | openpcd/firmware/include/openpcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |