Skip to content

Commit 9073bea

Browse files
committed
[ServoController] Pass array to pointer input correctly in sendPacket
1 parent e51af06 commit 9073bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtc/ServoController/ServoSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class ServoSerial {
361361
timeout.tv_sec = 0;
362362
timeout.tv_usec = 200*1000;
363363
select(fd + 1, &set, NULL, NULL, &timeout);
364-
ret2 = read(fd, &echo, 8+length*count);
364+
ret2 = read(fd, echo, 8+length*count);
365365

366366

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

0 commit comments

Comments
 (0)