diff --git a/app/raspberry_pi/repository/packages/t/tb6612/tb6612/src/TB6612.cpp b/app/raspberry_pi/repository/packages/t/tb6612/tb6612/src/TB6612.cpp index befdae01..1482a29b 100644 --- a/app/raspberry_pi/repository/packages/t/tb6612/tb6612/src/TB6612.cpp +++ b/app/raspberry_pi/repository/packages/t/tb6612/tb6612/src/TB6612.cpp @@ -10,7 +10,7 @@ namespace tb6612 backward_offset(!offset), frequency(frequency) { - gpioSetMode(directionChannel, PI_OUTPUT); + gpioSetMode(direction_channel, PI_OUTPUT); } Motor::setSpeed(int speed)