Better Reply structs

This commit is contained in:
Philippe Teuwen committed 2019-04-17 23:44:48 +02:00
1 parent 64eb93c9c4
commit 533667ea6d
57 files changed
+725 -718

No files matched your search

+2 -2
View File
@@ -20,9 +20,9 @@
#define MAX_FILES 4
void cmd_debug(UsbCommand *c) {
void cmd_debug(UsbCommandOLD *c) {
// Debug
printf("UsbCommand length[len=%zu]\n", sizeof(UsbCommand));
printf("UsbCommandOLD length[len=%zu]\n", sizeof(UsbCommandOLD));
printf(" cmd[len=%zu]: %016" PRIx64"\n", sizeof(c->cmd), c->cmd);
printf(" arg0[len=%zu]: %016" PRIx64"\n", sizeof(c->arg[0]), c->arg[0]);
printf(" arg1[len=%zu]: %016" PRIx64"\n", sizeof(c->arg[1]), c->arg[1]);