1
0
Fork 0

Local and remote objects WIP

This commit is contained in:
Fred Sundvik 2016-02-21 12:53:51 +02:00
parent b7059d35f9
commit 4ee6eadf9e
3 changed files with 94 additions and 1 deletions

View file

@ -27,7 +27,7 @@ SOFTWARE.
typedef struct {
uint8_t state;
uint8_t buffer[];
uint8_t buffer[] __attribute__((aligned(4)));
}triple_buffer_object_t;
void triple_buffer_init(triple_buffer_object_t* object);