add move fn to dsl, rename SPCommand to GenericCommand, remove DisplayBitVec command

This commit is contained in:
Vinzenz Schroeter 2025-06-23 20:26:07 +02:00
parent e434130784
commit 323ba6128e
13 changed files with 335 additions and 356 deletions

View file

@ -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;
}