Skip to content

Commit 73d03ff

Browse files
committed
Remove override value of pulseDuration passed from the user
1 parent 558edce commit 73d03ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Source/Meadow.Foundation.Core/Leds/RgbPwmLed.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,6 @@ public void StartPulse(Color color, float highBrightness = 1, float lowBrightnes
412412
/// <param name="lowBrightness"></param>
413413
public void StartPulse(Color color, TimeSpan pulseDuration, float highBrightness = 1, float lowBrightness = 0.15F)
414414
{
415-
pulseDuration = TimeSpan.FromMilliseconds(600);
416-
417415
if (highBrightness > 1 || highBrightness <= 0)
418416
{
419417
throw new ArgumentOutOfRangeException(nameof(highBrightness), "onBrightness must be > 0 and <= 1");

0 commit comments

Comments
 (0)