Skip to content

cycle_complete not triggered for Chase animation #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 27, 2020

Conversation

cjsieh
Copy link

@cjsieh cjsieh commented Jun 27, 2020

anim.draw_count was incremented twice in animation/init.py. This caused the check for cycle_complete to not be triggered in chase.py as it was not expecting a double value . See issue #56

cjsieh added 2 commits June 26, 2020 09:21
pull from adafruit master
fix for issue adafruit#56  --  cycle_complete not triggering for Chase animation
Copy link

@rhooper rhooper 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. Tested, and it works!

@rhooper rhooper merged commit 19df7c9 into adafruit:master Jun 27, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jun 30, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_LIS3MDL to 1.1.4 from 1.1.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_LIS3MDL#11 from kattni/update-combo-example

Updating https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO to 3.3.2 from 3.3.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#38 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#37 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Button to 1.3.3 from 1.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Button#21 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Button#20 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation to 2.3.3 from 2.3.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_LED_Animation#58 from cjsieh/cycle_complete
  > Merge pull request adafruit/Adafruit_CircuitPython_LED_Animation#49 from nnja/fix_sparkle_and_sparklepulse_animations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants