xodio / xod

XOD IDE
https://xod.io
GNU Affero General Public License v3.0
896 stars 119 forks source link

Fix calling of GPIO functions only from global namespace #2110

Closed brusherru closed 3 years ago

brusherru commented 3 years ago

There is no issue.

Calling digitalRead, digitalWrite, oranalogRead` functions only from the global namespace may not work on some architectures, like SAMD. So there is no need to call these functions exactly from the global namespace, much better to allow the compiler to find the function that matches the signature.