rfsimulator: remove static variable last_TS from function rxAddInput()

This static variable creates issues when there are multiple instances of the LEO channel model in use.
This commit is contained in:
Thomas Schlichter
2026-01-27 11:30:16 +01:00
parent fb9e848d5b
commit b24052d2dc
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -1426,7 +1426,7 @@ static int rfsimulator_read_beams(openair0_device_t *device,
buffer_t *ptr = &t->buf[sock];
if (ptr->conn_sock != -1 && ptr->channel_model != NULL) {
update_channel_model(ptr->channel_model, t->nextRxTstamp);
update_channel_model(ptr->channel_model, nsamps, t->nextRxTstamp);
}
}