Commit 692cec1a authored by Cedric Roux's avatar Cedric Roux

bugfix: use proper pointer

parent fdb6b44b
......@@ -1019,7 +1019,7 @@ static int rfsimulator_write_internal(rfsimulator_state_t *t,
signal_energy(static_cast<int32_t *>(samplesVoid[0][0]), nsamps));
/* trace only first antenna */
T(T_USRP_TX_ANT0, T_INT(timestamp), T_BUFFER(samplesVoid[0], (int)sampleToByte(nsamps, 1)));
T(T_USRP_TX_ANT0, T_INT(timestamp), T_BUFFER(samplesVoid[0][0], (int)sampleToByte(nsamps, 1)));
return nsamps;
}
......
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