diff --git a/actuators_rppico_hardware_interface/hardware/include/actuators_rppico_h_i/servo.hpp b/actuators_rppico_hardware_interface/hardware/include/actuators_rppico_h_i/servo.hpp index 10fb14e..9e24607 100644 --- a/actuators_rppico_hardware_interface/hardware/include/actuators_rppico_h_i/servo.hpp +++ b/actuators_rppico_hardware_interface/hardware/include/actuators_rppico_h_i/servo.hpp @@ -25,7 +25,7 @@ class Servo void setup(const std::string &servo_name, int servo_number) { name = servo_name; - servo_number = servo_number; + this->servo_number = servo_number; }