Skip to content

Commit

Permalink
#6 Fix more byte string conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
walcovanloon committed Jun 17, 2022
1 parent db8b461 commit bbdcf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aksyx/aksyx.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ static PyObject* AkaiSampler_get_panel_state(AkaiSampler* self) {
if (rc == AKSY_TRANSMISSION_ERROR) {
ret = PyErr_Format(USBException, "Timeout waiting for sysex reply.");
} else {
ret = Py_BuildValue("(s#,s#)", pixel_data, PANEL_PIXEL_DATA_LENGTH,
ret = Py_BuildValue("(y#,y#)", pixel_data, PANEL_PIXEL_DATA_LENGTH,
control_data, PANEL_CONTROL_DATA_LENGTH);
}

Expand Down

0 comments on commit bbdcf27

Please sign in to comment.