Better Reply structs

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

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]);