mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
signal_genearator: show correct number of missed steps
This commit is contained in:
parent
35cc8ca6e8
commit
5f498752f9
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ int signal_generator_read(struct node *n, struct sample *smps[], unsigned cnt)
|
|||
/* Block until 1/p->rate seconds elapsed */
|
||||
steps = task_wait(&s->task);
|
||||
if (steps > 1)
|
||||
warn("Missed steps: %u", steps);
|
||||
warn("Missed steps: %u", steps-1);
|
||||
|
||||
ts = time_now();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue