Skip to content

Bar Graph LED mode charging animation gets stuck if switching from Single LED mode on hot-reload #344

@Kanuan

Description

@Kanuan

Bar graph LED mode charging animation progressively turns on all LEDs from 1 to 4 before resetting, meaning when it reachs LED 4 all leds before it will be ON too.

Single LED mode charging animation is similar, but it only keeps a single LED turned on, moving from 1 to 4 until resetting.

The issue

If switching from single LED mode to Bar Graph mode on a hot reload while the currently lit LED is NOT 1, then Bar Graph charging animation will continue from the currently lit LED until reaching LED 4 then get stuck there

Example

Switching from Single LED to Bar Graph while LED 2 was lit will make it so the bar graph gets stuck in [ ]-[X]-[X-[X]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions