Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported.

This commit is contained in:
Gregory Nutt
2017-04-09 07:22:49 -06:00
parent 5a0636d8bc
commit f9e402018b
77 changed files with 125 additions and 153 deletions
+2 -2
View File
@@ -94,9 +94,9 @@ void board_button_initialize(void)
* Name: board_buttons
****************************************************************************/
uint8_t board_buttons(void)
uint32_t board_buttons(void)
{
uint8_t ret = 0;
uint32_t ret = 0;
if (kinetis_gpioread(GPIO_SW1))
{