diff --git a/docs/LedStrip.md b/docs/LedStrip.md index dffc9d99f6..07f08a94f5 100644 --- a/docs/LedStrip.md +++ b/docs/LedStrip.md @@ -178,7 +178,7 @@ Note: Armed State cannot be used with Flight Mode. This mode fades the LED current LED color to the previous/next color in the HSB color space depending on throttle stick position. When the throttle is in the middle position the color is unaffected, thus it can be mixed with orientation colors to indicate orientation and throttle at -the same time. +the same time. Thrust should normally be combined with Color or Mode/Orientation. #### Thrust ring state diff --git a/src/main/io/ledstrip.c b/src/main/io/ledstrip.c index 1de4ff7b87..5d40671a5c 100644 --- a/src/main/io/ledstrip.c +++ b/src/main/io/ledstrip.c @@ -771,7 +771,7 @@ void applyLedThrottleLayer() int scaled = scaleRange(rcData[THROTTLE], PWM_RANGE_MIN, PWM_RANGE_MAX, -60, +60); scaled += HSV_HUE_MAX; - color.h = scaled % HSV_HUE_MAX; + color.h = (color.h + scaled) % HSV_HUE_MAX; setLedHsv(ledIndex, &color); } }