Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Moved pointer to stay in memory longer #86

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

UntrustedRoot
Copy link

We don't need to pull the pointer on each process() loop, this will save a few cycles and fixes a conflict in another branch I am working in.

=> Set gamepad and pGamepad pointers in setup() method
=> Removed pointers from process() loop/method
=> Removed pointer from process() functions
=> Added pointers for gamepad and pGamepad to i2cDisplayAddon class
=> Overall had a great time troubleshooting a loose wire on my breadboard thinking it was a pointer issue for about an hour.....

Semi-ix for a conflict in another branch of mine. Needs a few things answered...
@arntsonl
Copy link

This is good clean-up, approving and merging this one in.

@arntsonl arntsonl merged commit 0f856eb into OpenStickFoundation:main Sep 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants