summaryrefslogtreecommitdiff
path: root/openpcd/firmware/src/openpcd.h
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-07-21 12:02:43 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-07-21 12:02:43 +0000
commitf7d6875c10036e573eae5878e7570d19c3e0b670 (patch)
tree91bd9c0f19904e4c7b69264cfddd336d64444455 /openpcd/firmware/src/openpcd.h
parent8a863d16ad4e45988d525ece7c36c56bd94533c2 (diff)
implement spi transceive
git-svn-id: https://svn.openpcd.org:2342/trunk@7 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpcd/firmware/src/openpcd.h')
-rw-r--r--openpcd/firmware/src/openpcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpcd/firmware/src/openpcd.h b/openpcd/firmware/src/openpcd.h
index 2a293b3..9f723da 100644
--- a/openpcd/firmware/src/openpcd.h
+++ b/openpcd/firmware/src/openpcd.h
@@ -12,6 +12,8 @@
#define req_buf_payload(x) (x->data[x->hdr_len])
#define req_buf_hdr(x) (x->data[0])
+#include <include/types.h>
+
struct req_buf {
u_int16_t hdr_len;
u_int16_t tot_len;
personal git repositories of Harald Welte. Your mileage may vary