Fix Initial_Report_Response message (double leading zeros)

This commit is contained in:
Allen Hill
2026-07-06 11:52:52 -07:00
parent 04c492271c
commit ee620d4e77
+1 -1
View File
@@ -115,7 +115,7 @@ void CDChanger::handle(const Frame *in, Frame *out) {
0x00, dev_CD_CHANGER, from, Initial_Report_Response, 0x01, 0x31,
0x10, 0x01, 0x01};
out->length = sizeof(cdinitreport_resp);
memcpy(&out->data[1], cdinitreport_resp, sizeof(cdinitreport_resp));
memcpy(out->data, cdinitreport_resp, sizeof(cdinitreport_resp));
out->reaction = r_SendOnly;
break;
}