fix: DSE Profile Save. Thanks @fuhuasxflwb

This commit is contained in:
awalol
2026-05-05 21:14:29 +08:00
parent 826c3eef9c
commit 7358a81d11
2 changed files with 13 additions and 2 deletions
+5 -1
View File
@@ -154,7 +154,11 @@ void tud_hid_set_report_cb(uint8_t itf, uint8_t report_id, hid_report_type_t rep
}
}
}
if (report_id == 0x80) {
if (report_id == 0x80 ||
// DSE: Write Profile Block
report_id == 0x60 ||
report_id == 0x62 ||
report_id == 0x61) {
set_feature_data(report_id,const_cast<uint8_t *>(buffer),bufsize);
return;
}