bugfix in read_buttons

This commit is contained in:
Amy G. Bowersox 2019-12-01 01:21:26 -07:00
parent 969fefd0aa
commit bb98f165ca
1 changed files with 1 additions and 0 deletions

View File

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