add move fn to dsl, rename SPCommand to GenericCommand, remove DisplayBitVec command
This commit is contained in:
parent
e434130784
commit
323ba6128e
13 changed files with 335 additions and 356 deletions
|
@ -9,14 +9,14 @@ int main(void) {
|
|||
sp_bitveccommand_free(bvcmd);
|
||||
|
||||
uint8_t *data = calloc(1024, 1);
|
||||
struct Command generic = {
|
||||
struct GenericCommand generic = {
|
||||
.tag = COMMAND_TAG_BRIGHTNESS_GRID,
|
||||
.data = {.null = data},
|
||||
};
|
||||
|
||||
sock_init();
|
||||
|
||||
sp_udpsocket_send_command(sock, generic);
|
||||
sp_udpsocket_send_command(sock, &generic);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue