Skip to content

Commit bea6934

Browse files
Merge pull request #586 from WildernessLabs/bugfix/rgbpwmled-fix
RgbPwmLed PulseDuration fix
2 parents 558edce + 73d03ff commit bea6934

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)