Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ols read metadata in little endian #226

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hardware/openbench-logic-sniffer/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ SR_PRIV int ols_get_metadata(struct sr_dev_inst *sdi)
if (serial_read_blocking(serial, &tmp_int, 4,
delay_ms) != 4)
break;
tmp_int = RB32(&tmp_int);
tmp_int = RL32(&tmp_int);
sr_dbg("Got metadata token 0x%.2x value 0x%.8x.", key,
tmp_int);
switch (key) {
Expand Down