mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 22:58:04 +03:00
added mdc1200 packet encoder
This commit is contained in:
10
mdc1200.h
Normal file
10
mdc1200.h
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
#ifndef MDC1200H
|
||||
#define MDC1200H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
int MDC1200_encode_single_packet(uint8_t *data, const uint8_t op, const uint8_t arg, const uint16_t unit_id);
|
||||
int MDC1200_encode_double_packet(uint8_t *data, const uint8_t op, const uint8_t arg, const uint16_t unit_id, const uint8_t b0, const uint8_t b1, const uint8_t b2, const uint8_t b3);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user