Skip to content
Snippets Groups Projects
Rahix's avatar
rahix authored
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>
ced8c213
History
Name Last commit Last update