This commit is contained in:
iceman1001 committed 2026-07-02 16:30:03 +02:00
1 parent 6fe58f8e3c
commit 344e7de9a1
1 file changed
+2 -1
+2 -1
View File
@@ -30,8 +30,9 @@ bool g_reply_via_usb = false;
int reply_old(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, const void *data, size_t len) {
PacketResponseOLD txcmd = {CMD_UNKNOWN, {0, 0, 0}, {{0}}};
for (size_t i = 0; i < sizeof(PacketResponseOLD); i++)
for (size_t i = 0; i < sizeof(PacketResponseOLD); i++) {
((uint8_t *)&txcmd)[i] = 0x00;
}
// Compose the outgoing command frame
txcmd.cmd = cmd;