Skip to content

Commit 8198c44

Browse files
authored
Update U2Vydm8gQ29tcG9uZW50.h
Signed-off-by: Adrian <[email protected]>
1 parent 19072b8 commit 8198c44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/U2Vydm8gQ29tcG9uZW50.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ typedef struct setup2 {
88

99
Servo servo;
1010

11-
void moveServo(int angle) {
12-
servo.attach(setup.servo);
11+
void moveServo(int i, int angle) {
12+
servo.attach(pin[i].servo);
1313
servo.write(angle);
1414
}

0 commit comments

Comments
 (0)