int main(int argc, char **argv)
{
if (argc < 3)
- error("usage: host /dev/ttyACM0 0 sync");
+ error("usage: control /dev/ttyACM0 0 sync");
// Parse args
char *opt_tty = argv[1];
body.start.nanosec = 0; //ts.tv_nsec;
body.period.seconds = 0;
body.period.nanosec = 100000000;
- // [ ][ ]
+ // [s][m][u][n]
// Transmit message
FILE *fd = fopen(opt_tty, "a+");