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

Indexing in multiple read apply does not work. #92

Open
CvRXX opened this issue Dec 5, 2016 · 1 comment
Open

Indexing in multiple read apply does not work. #92

CvRXX opened this issue Dec 5, 2016 · 1 comment

Comments

@CvRXX
Copy link

CvRXX commented Dec 5, 2016

If i try to compile the following code the ADL fails.

#include <Chip/nrf52.hpp>
#include <Io/Io.hpp>

constexpr auto button1 = Kvasir::Io::makePinLocation(Kvasir::Io::port0, Kvasir::Io::pin13);
constexpr auto button2 = Kvasir::Io::makePinLocation(Kvasir::Io::port0, Kvasir::Io::pin14);

int main()
{


                        if (get<0>(apply(read(button1), (read(button2))))  ) {}
}
@odinthenerd
Copy link
Member

implementing #95 would fix this.

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