8b10b issues

This commit is contained in:
jaseg 2023-10-02 01:23:31 +02:00
parent 67e30fa91e
commit c8623eb4c6
24 changed files with 1105 additions and 968 deletions

13
common/protocol.h Normal file
View 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__ */