Skip to content
Snippets Groups Projects
Verified Commit ced8c213 authored by rahix's avatar rahix
Browse files

feat(buttons): Allow calling buttons.read() without args


Allow calling buttons.read() without an argument.  This is equivalent to
a mask with all bits set (that is, buttons.read(255)).  Additionally,
add a check that the mask is within the limits (< 256).

Signed-off-by: default avatarRahix <rahix@rahix.de>
parent f8a8f0d7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment