Introduce SendCommandMIX, to still get some varlen on old API

This commit is contained in:
Philippe Teuwen 2019-04-20 02:41:40 +02:00
commit 3bcf80bb34
5 changed files with 37 additions and 6 deletions

View file

@ -37,7 +37,8 @@ typedef struct {
typedef struct {
uint32_t magic;
uint16_t length; // length of the variable part, 0 if none.
uint16_t length : 15; // length of the variable part, 0 if none.
bool ng : 1;
uint16_t cmd;
} PACKED PacketCommandNGPreamble;