mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-05 22:24:47 +08:00
px4cannode-v1:Updated board_button to match upstream NuttX
upstren widened board_buttons ti 32 bit
This commit is contained in:
committed by
Daniel Agar
parent
7a0d6174e2
commit
72ea7ae8f6
@@ -117,7 +117,7 @@ void board_button_initialize(void)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
uint8_t board_buttons(void)
|
||||
uint32_t board_buttons(void)
|
||||
{
|
||||
return stm32_gpioread(BUTTON_BOOT0n) ? 0 : BUTTON_BOOT0_MASK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user