Add missing file
This commit is contained in:
parent
8d0dae5d69
commit
2fd9cfdc3d
1 changed files with 21 additions and 0 deletions
21
include/tabby/avr/buffer.h
Normal file
21
include/tabby/avr/buffer.h
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
#ifndef _TABBY_AVR_BUFFER_H
|
||||||
|
#define _TABBY_AVR_BUFFER_H
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <tabby/packet.h>
|
||||||
|
|
||||||
|
#define TABBY_AVR_BUFFER_SIZE 1024
|
||||||
|
|
||||||
|
typedef struct _tabby_avr_buffer {
|
||||||
|
uint16_t len,
|
||||||
|
cur;
|
||||||
|
|
||||||
|
union {
|
||||||
|
tabby_packet header;
|
||||||
|
|
||||||
|
uint8_t data[TABBY_AVR_BUFFER_SIZE];
|
||||||
|
};
|
||||||
|
} tabby_avr_buffer;
|
||||||
|
|
||||||
|
#endif /* _TABBY_AVR_BUFFER_H */
|
Loading…
Add table
Reference in a new issue