-
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:
Rahix <rahix@rahix.de>
rahix authoredAllow 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:
Rahix <rahix@rahix.de>