1
0
Fork 0
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:
Steffen Vogel 2015-06-02 22:39:36 +02:00
parent e28b77666d
commit c7835f92e5

View file

@ -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 */