From 0bd6795c2cab5458141f2da2511ce110ad6e2d2c Mon Sep 17 00:00:00 2001 From: fdarosa2663 Date: Wed, 17 Mar 2021 19:21:56 -0400 Subject: [PATCH] Change TrColorCycle to TrColorCycleX (#136) --- transitions/colorcycle.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/transitions/colorcycle.h b/transitions/colorcycle.h index 7d962bfb7..3666f713b 100644 --- a/transitions/colorcycle.h +++ b/transitions/colorcycle.h @@ -10,11 +10,11 @@ // return value: COLOR // Tron-like transition. class BladeBase; -template -class TrColorCycle : public TransitionBaseX> { +template +class TrColorCycleX : public TransitionBaseX { public: void run(BladeBase* base) { - TransitionBaseX>::run(base); + TransitionBaseX::run(base); uint32_t now = micros(); uint32_t delta = now - last_micros_; last_micros_ = now; @@ -58,4 +58,6 @@ class TrColorCycle : public TransitionBaseX> { uint32_t last_micros_; }; +template using TrColorCycle = TrColorCycleX, start_rpm, end_rpm>; + #endif