Skip to content

Commit 6f6b707

Browse files
authored
Update Servo-Motor-Module.h
Signed-off-by: Adrian <[email protected]>
1 parent 0aa203f commit 6f6b707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Servo-Motor-Module.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ struct Servo2 {
44
int servo;
55
int angle;
66
move(int angle);
7-
attach(int pin);
7+
attach();
88
} Servo2;
99

1010
Servo servo;
@@ -14,6 +14,6 @@ void Servo2::move(int angle) {
1414
servo.write(angle);
1515
}
1616

17-
void Servo2::attach(int pin) {
17+
void Servo2::attach() {
1818
servo.attach(this.servo);
1919
}

0 commit comments

Comments
 (0)