fix: SetStateData update
This commit is contained in:
+1
-1
@@ -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) {
|
if (report_id == 0) {
|
||||||
switch (buffer[0]) {
|
switch (buffer[0]) {
|
||||||
case 0x02: {
|
case 0x02: {
|
||||||
|
set_state_data(buffer + 1, bufsize - 1);
|
||||||
if (spk_active) {
|
if (spk_active) {
|
||||||
set_state_data(buffer + 1, bufsize - 1);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
uint8_t outputData[78];
|
uint8_t outputData[78];
|
||||||
|
|||||||
Reference in New Issue
Block a user