summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openpcd/firmware/include/openpcd.h2
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
personal git repositories of Harald Welte. Your mileage may vary