Skip to content

Fix the status neopixel flashing.#757

Merged
tannewt merged 1 commit into
adafruit:masterfrom
tannewt:status_pixel_fix
Apr 12, 2018
Merged

Fix the status neopixel flashing.#757
tannewt merged 1 commit into
adafruit:masterfrom
tannewt:status_pixel_fix

Conversation

@tannewt
Copy link
Copy Markdown
Member

@tannewt tannewt commented Apr 12, 2018

We were storing the wrong current color.

We were storing the wrong current color.
@tannewt tannewt added this to the 3.0 Alpha milestone Apr 12, 2018
@tannewt tannewt requested a review from sommersoft April 12, 2018 20:35
}
uint32_t rgb_adjusted = color_brightness(rgb, rgb_status_brightness);
current_status_color = rgb_adjusted;
current_status_color = rgb;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I chased rgb_adjusted countless times and walked over this every single time. Great catch!!

Copy link
Copy Markdown

@sommersoft sommersoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@tannewt tannewt merged commit 12f1aa2 into adafruit:master Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants