mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
hypersim: increment sequence number with each timestep
This commit is contained in:
parent
dcf7ea8e9d
commit
db8156e116
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ struct sockaddr_in rec_addr;
|
|||
struct msg *msg = (struct msg *) buf;
|
||||
|
||||
struct timespec now;
|
||||
unsigned int sequence = 0;
|
||||
static unsigned sequence;
|
||||
|
||||
if (switchs == 1) {
|
||||
clock_gettime(CLOCK_REALTIME, &now);
|
||||
|
|
Loading…
Add table
Reference in a new issue