Commit 7e10d2db authored by Dimitris Lampridis's avatar Dimitris Lampridis

fw: fix message size check in sim-verif

The '-2' was needed before because of an HDL bug which has now been fixed.
parent c3fc5eb2
......@@ -113,7 +113,7 @@ test_rmq(int slot)
// Read answer
hdr = mq_map_in_header(TRTL_RMQ, slot);
if (hdr[1] != ((sizeof (msg) + 3) / 4) * 4 - 2)
if (hdr[1] != ((sizeof (msg) + 3) / 4) * 4)
failed('R');
p = mq_map_in_buffer(TRTL_RMQ, slot);
for (i = 0; i < sizeof (msg); i++)
......
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