board/io3.c: Fix analog input endianness

This commit is contained in:
Tau 2019-03-08 10:05:31 -05:00
parent 72f28e40b0
commit 5eef0455a2

View File

@ -507,7 +507,7 @@ static HRESULT io3_cmd_read_analogs(
state = 0;
}
hr = iobuf_write_le16(resp_buf, state);
hr = iobuf_write_be16(resp_buf, state);
if (FAILED(hr)) {
return hr;