PM2_Lib

Dependencies:   LSM9DS1 RangeFinder FastPWM

Revision:
23:1926540ebbec
Parent:
22:13db7047054c
diff -r 13db7047054c -r 1926540ebbec Servo.cpp
--- a/Servo.cpp	Wed Mar 23 09:36:59 2022 +0000
+++ b/Servo.cpp	Wed Mar 23 09:46:07 2022 +0000
@@ -59,9 +59,9 @@
 }
 
 /**
- * Re enables the servo with last set angle and period.
+ * Enables the servo with last set angle and period.
  */
-void Servo::ReEnable()
+void Servo::Enable()
 {
     servoEnabled = true;
     Pulse.attach(callback(this, &Servo::StartPulse), std::chrono::microseconds{static_cast<long int>(Period)});