Commit 3ea94d74 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Adam Wujek

wrpc sim: missing pl_cnt assignment

parent bf1916f1
......@@ -147,6 +147,7 @@ int wrpc_test_1(void)
if (ret == 0)
code = 0xE0; /* Error: returned zero value */
else if (ret > 0) {
pl_cnt = 0xFFFF & ((tx_payload[0] << 8) | tx_payload[1]);
if (pl_cnt == rx_cnt) {
rx_cnt++;
code = 0xBB; /* OK */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment