Skip to content

Commit

Permalink
fix: rename init in actuators/DCMotor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen authored Dec 1, 2023
1 parent e0e2608 commit fa988c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actuators/DCMotor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class DCMotor:
"""DC Motor class"""

def init(self, in_1: int, in_2: int, in_3: int, in_4: int, en_a: int, en_b: int):
def __init__(self, in_1: int, in_2: int, in_3: int, in_4: int, en_a: int, en_b: int):
"""
Creates a DC motor
:param in_1: int, the pin of the in1
Expand Down

0 comments on commit fa988c3

Please sign in to comment.