Updated timer to fix crashes. #1

Merged
merged 1 commit into from Nov 20, 2017

Conversation

Projects
None yet
2 participants
@mseneshen
Contributor

mseneshen commented Dec 26, 2016

The buttons array previously had four elements, from element 0 to 3. The crashes were caused by accessing and modifying buttons[4] which was outside the bounds of the array. I fixed this by adding a fifth element to the array.

Updated timer to fix crashes.
The buttons array previously had four elements, from element 0 to 3. The crashes were caused by accessing and modifying buttons[4] which was outside the bounds of the array. I fixed this by adding a fifth element to the array.
@GCaw

GCaw approved these changes Feb 21, 2017

Thank you so much. Such a silly mistake on my side!

GCaw added a commit that referenced this pull request Feb 21, 2017

Updated to fix issue that caused crash
Thanks to mseneshen for fixing this bug: #1

@GCaw GCaw merged commit f19a6b2 into GCaw:master Nov 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment