1
0
Fork 0
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:
Steffen Vogel 2019-03-09 00:38:31 +01:00
parent dcf7ea8e9d
commit db8156e116

View file

@ -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);