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 se recomienda el uso de constantes mágicas #2

Open
evolentini opened this issue Apr 20, 2020 · 0 comments
Open

No se recomienda el uso de constantes mágicas #2

evolentini opened this issue Apr 20, 2020 · 0 comments

Comments

@evolentini
Copy link

return 1 << (n - 1);

*_leds = 0xffff;

*_leds = 0x0;

Se recomienda que en el código no hay constantes numéricas sino simbólicas reemplazadas por #define.

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

1 participant