Skip to content

Commit db471fd

Browse files
More consistent use of this depending on the file
1 parent 2e87933 commit db471fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/nrf52/Servo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void Servo::write(int value)
8181
value = 180;
8282
value = map(value, 0, 180, MIN_PULSE, MAX_PULSE);
8383
}
84-
writeMicroseconds(value);
84+
this->writeMicroseconds(value);
8585
}
8686

8787

src/renesas/Servo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ void Servo::write(int value)
240240
value = constrain(value, 0, 180);
241241
value = map(value, 0, 180, servo->period_min, servo->period_max);
242242
}
243-
this->writeMicroseconds(value);
243+
writeMicroseconds(value);
244244
}
245245
}
246246

0 commit comments

Comments
 (0)