mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
On stm32F2xx gpio is encoded to 20bits but the button definitions use 16bit type.
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
* the BUTTON_* definitions in board.h
|
||||
*/
|
||||
|
||||
static const uint16_t g_buttons[NUM_BUTTONS] =
|
||||
static const uint32_t g_buttons[NUM_BUTTONS] =
|
||||
{
|
||||
GPIO_BTN_USERKEY, GPIO_BTN_TAMPER, GPIO_BTN_WAKEUP
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user