ols: Display actual expanded sample instead of the raw sample
While the raw sample is the actual received data, the expanded sample is the crucial data I as a developer am interested in seeing. At least if I assume that the sample expansion works.
This commit is contained in:
parent
aad6b9de5f
commit
29f15d52cb
|
@ -463,7 +463,8 @@ SR_PRIV int ols_receive_data(int fd, int revents, void *cb_data)
|
|||
}
|
||||
}
|
||||
memcpy(devc->sample, devc->tmp_sample, 4);
|
||||
sr_spew("Expanded sample: 0x%.8x.", sample);
|
||||
sr_spew("Expanded sample: 0x%.2hhx%.2hhx%.2hhx%.2hhx ",
|
||||
devc->sample[3], devc->sample[2], devc->sample[1], devc->sample[0]);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue