8b10b issues
This commit is contained in:
parent
67e30fa91e
commit
c8623eb4c6
24 changed files with 1105 additions and 968 deletions
13
common/protocol.h
Normal file
13
common/protocol.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef __PROTOCOL_H__
|
||||
#define __PROTOCOL_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct __attribute__((__packed__)) data_packet {
|
||||
uint8_t channels[16];
|
||||
uint8_t brightness[8];
|
||||
uint8_t flags;
|
||||
uint32_t crc;
|
||||
};
|
||||
|
||||
#endif /* __PROTOCOL_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue