@@ -25,7 +25,7 @@ void button_setup(button_t *button) {
}
static bool button_is_pressed(button_t *button) {
if (REG_BIT_VALUE(_MMIO_BYTE(button->pinaddr), button->outnum)) {
if (!REG_BIT_VALUE(_MMIO_BYTE(button->pinaddr), button->outnum)) {
return true;
return false;
The note is not visible to the blocked user.