Skip to content
New issue

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

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

Already on GitHub? # to your account

adafruit_driver.go contains shared variables and init() #1010

Closed
gen2thomas opened this issue Oct 20, 2023 · 1 comment
Closed

adafruit_driver.go contains shared variables and init() #1010

gen2thomas opened this issue Oct 20, 2023 · 1 comment
Assignees

Comments

@gen2thomas
Copy link
Collaborator

e.g. motorHatAddress = 0x60, servoHatAddress = 0x40 should be splitted into a default constant and an attribute inside the struct "AdafruitMotorHatDriver"

the init function prevents activating the linter "gochecknoinits"

@gen2thomas gen2thomas self-assigned this Oct 20, 2023
@gen2thomas gen2thomas added enhancement done on dev the feature or bug is solved on dev branch and wait for merge to release branch labels Oct 29, 2023
@gen2thomas
Copy link
Collaborator Author

available since v2.2.0

@gen2thomas gen2thomas removed the done on dev the feature or bug is solved on dev branch and wait for merge to release branch label Oct 30, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant