Skip to content

Commit

Permalink
Reverted the string handling
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed Apr 29, 2024
1 parent 6c0f279 commit 8c47797
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ class Servo

Servo() = default;

Servo(const std::string servo_name, int servo_number)
Servo(const std::string &servo_name, int servo_number)
{
setup(servo_name, servo_number);
}


void setup(const std::string servo_name, int servo_number)
void setup(const std::string &servo_name, int servo_number)
{
name = servo_name;
this->servo_number = servo_number;
Expand Down

0 comments on commit 8c47797

Please sign in to comment.