Skip to content

Commit

Permalink
Update TB6612.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Dec 26, 2023
1 parent d53f1ad commit 01154bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace tb6612
backward_offset(!offset),
frequency(frequency)
{
gpioSetMode(directionChannel, PI_OUTPUT);
gpioSetMode(direction_channel, PI_OUTPUT);
}

Motor::setSpeed(int speed)
Expand Down

0 comments on commit 01154bd

Please sign in to comment.