Stephen Davis
/
BT_Hub
Library set up as dummy module on mbed to mimic Nordic.
list.h@2:9ab591cf81b8, 2016-12-13 (annotated)
- Committer:
- Stephen_NewVistas
- Date:
- Tue Dec 13 00:20:29 2016 +0000
- Revision:
- 2:9ab591cf81b8
- Parent:
- 0:226550611f0d
everything commented . now going to strip out mbed stuff.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Stephen_NewVistas | 0:226550611f0d | 1 | #ifndef LIST_H |
Stephen_NewVistas | 0:226550611f0d | 2 | #define LIST_H |
Stephen_NewVistas | 0:226550611f0d | 3 | |
Stephen_NewVistas | 0:226550611f0d | 4 | typedef struct{ |
Stephen_NewVistas | 0:226550611f0d | 5 | unsigned char command; |
Stephen_NewVistas | 0:226550611f0d | 6 | void *function; |
Stephen_NewVistas | 0:226550611f0d | 7 | } listContents_t; |
Stephen_NewVistas | 0:226550611f0d | 8 | |
Stephen_NewVistas | 0:226550611f0d | 9 | typedef struct{ |
Stephen_NewVistas | 0:226550611f0d | 10 | listContents_t list[64]; |
Stephen_NewVistas | 0:226550611f0d | 11 | unsigned char index; |
Stephen_NewVistas | 0:226550611f0d | 12 | } list_t; |
Stephen_NewVistas | 0:226550611f0d | 13 | |
Stephen_NewVistas | 0:226550611f0d | 14 | #endif |