aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/motor/MotorController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/motor/MotorController.h')
-rw-r--r--src/components/motor/MotorController.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/motor/MotorController.h b/src/components/motor/MotorController.h
index ab8c956e..04b08b08 100644
--- a/src/components/motor/MotorController.h
+++ b/src/components/motor/MotorController.h
@@ -13,15 +13,19 @@ namespace Pinetime {
void Init();
void RunForDuration(uint8_t motorDuration);
+ void Pulse(uint32_t interval, uint8_t repetitions);
void StartRinging();
void StopRinging();
bool IsRinging();
private:
static void Ring(TimerHandle_t xTimer);
+ static void RingWithLatch(TimerHandle_t xTimer);
static void StopMotor(TimerHandle_t xTimer);
TimerHandle_t shortVib;
TimerHandle_t longVib;
+ TimerHandle_t pulse;
+ uint8_t pulseLatch;
};
}
}