Skip to content

Commit

Permalink
[ServoController] Pass array to pointer input correctly in sendPacket
Browse files Browse the repository at this point in the history
  • Loading branch information
pazeshun committed Nov 27, 2019
1 parent e51af06 commit 9073bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtc/ServoController/ServoSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class ServoSerial {
timeout.tv_sec = 0;
timeout.tv_usec = 200*1000;
select(fd + 1, &set, NULL, NULL, &timeout);
ret2 = read(fd, &echo, 8+length*count);
ret2 = read(fd, echo, 8+length*count);


fprintf(stderr, "[ServoSerial] received: ");
Expand Down

0 comments on commit 9073bea

Please sign in to comment.