mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
px4cannode-v1:Updated board_button to match upstream NuttX
upstren widened board_buttons ti 32 bit
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user