Skip to content
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

No blade array error thrown #546

Closed
NoSloppy opened this issue Mar 21, 2023 · 1 comment
Closed

No blade array error thrown #546

NoSloppy opened this issue Mar 21, 2023 · 1 comment

Comments

@NoSloppy
Copy link
Contributor

For whatever reason, a data pin alias in place of an LED pin doesn't cause a problem and compiles fine, as in using bladePin in place of bladePowerPin1 by mistake, like:
SimpleBladePtr<CH1LED, NoLED, NoLED, NoLED, bladePin, -1, -1, -1>(),
not
SimpleBladePtr<CH1LED, NoLED, NoLED, NoLED, bladePowerPin1, -1, -1, -1>(),

@profezzorn
Copy link
Owner

This is now a compile-time error:
a4b84d6

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

No branches or pull requests

2 participants