fix: SetStateData update

This commit is contained in:
awalol
2026-05-09 21:16:24 +08:00
parent 8f78259fa0
commit 43776c068d
+1 -1
View File
@@ -158,8 +158,8 @@ void tud_hid_set_report_cb(uint8_t itf, uint8_t report_id, hid_report_type_t rep
if (report_id == 0) {
switch (buffer[0]) {
case 0x02: {
set_state_data(buffer + 1, bufsize - 1);
if (spk_active) {
set_state_data(buffer + 1, bufsize - 1);
break;
}
uint8_t outputData[78];