bugfix in read_buttons

This commit is contained in:
Amy G. Bowersox 2019-12-01 01:21:26 -07:00
parent 969fefd0aa
commit bb98f165ca

View File

@ -194,6 +194,7 @@ int Gpio_read_buttons(void)
rc |= STATE_BUTTON3; rc |= STATE_BUTTON3;
if (gpio_input(GLINE_BUTTON4) == 0) if (gpio_input(GLINE_BUTTON4) == 0)
rc |= STATE_BUTTON4; rc |= STATE_BUTTON4;
return rc;
} }
int Gpio_poll_buttons(void) int Gpio_poll_buttons(void)