We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
uint16_t readChannel(Channel channel)
According to docs.modm.io
typedef uint8_t Channel // this type may also be an enum or enum class
the call readChannel(1) should be legal, but: error: cannot convert 'int' to 'modm::platform::Adc1::Channel'.
readChannel(1)
error: cannot convert 'int' to 'modm::platform::Adc1::Channel'
We should update the documentation (by removing the fake typedef in architecture/).
architecture/
cc @hshose
The text was updated successfully, but these errors were encountered:
rleh
No branches or pull requests
According to docs.modm.io
the call
readChannel(1)
should be legal, but:error: cannot convert 'int' to 'modm::platform::Adc1::Channel'
.We should update the documentation (by removing the fake typedef in
architecture/
).cc @hshose
The text was updated successfully, but these errors were encountered: