forked from Dniel97/segatools
board/io3.c: Fix analog input endianness
This commit is contained in:
parent
72f28e40b0
commit
5eef0455a2
@ -507,7 +507,7 @@ static HRESULT io3_cmd_read_analogs(
|
|||||||
state = 0;
|
state = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr = iobuf_write_le16(resp_buf, state);
|
hr = iobuf_write_be16(resp_buf, state);
|
||||||
|
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
return hr;
|
return hr;
|
||||||
|
Loading…
Reference in New Issue
Block a user