more type name based naming
This commit is contained in:
parent
8f13ba61f0
commit
8116375fd0
27 changed files with 787 additions and 750 deletions
22
example/src/undefined.c
Normal file
22
example/src/undefined.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include <stdio.h>
|
||||
#include "servicepoint.h"
|
||||
#include "helpers.h"
|
||||
|
||||
/// DO NOT DO ANY OF THIS!
|
||||
int main(void) {
|
||||
BitmapCommand *bmcmd = sp_bitmapcommand_new(sp_bitmap_new_max_sized(), 0, 0, COMPRESSION_CODE_UNCOMPRESSED);
|
||||
BitVecCommand *bvcmd = (BitVecCommand *) bmcmd;
|
||||
sp_bitveccommand_free(bvcmd);
|
||||
|
||||
uint8_t *data = calloc(1024, 1);
|
||||
struct Command generic = {
|
||||
.tag = COMMAND_TAG_BRIGHTNESS_GRID,
|
||||
.data = {.null = data},
|
||||
};
|
||||
|
||||
sock_init();
|
||||
|
||||
sp_udpsocket_send_command(sock, generic);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue