mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix: allow non-integer rate
This commit is contained in:
parent
e28b77666d
commit
c7835f92e5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ int main(int argc, char *argv[])
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
int rate = atoi(argv[2]);
|
||||
double rate = strtod(argv[2], NULL);
|
||||
struct msg m = MSG_INIT(atoi(argv[1]));
|
||||
|
||||
/* Setup timer */
|
||||
|
|
Loading…
Add table
Reference in a new issue