Skip to content

Commit d2aedea

Browse files
committed
Fix Issue FastLED#89, disable the max power indicator pin.
1 parent 9985647 commit d2aedea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

power_mgt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static const uint8_t gMCU_mW = 25 * 5; // 25mA @ 5v = 125 mW
4343

4444

4545
static uint32_t gMaxPowerInMilliwatts = (uint32_t)(400) * (uint32_t)(5); // 400mA @ 5v default to avoid USB bricking
46-
static uint8_t gMaxPowerIndicatorLEDPinNumber = 13; // default = Arduino onboard LED pin. set to zero to skip this.
46+
static uint8_t gMaxPowerIndicatorLEDPinNumber = 0; // default = Arduino onboard LED pin. set to zero to skip this.
4747

4848

4949
uint32_t calculate_unscaled_power_mW( const CRGB* ledbuffer, uint16_t numLeds ) //25354

0 commit comments

Comments
 (0)