remove user button definition
This commit is contained in:
parent
9594304c46
commit
1ebbb4f96b
4
global.h
4
global.h
@ -49,7 +49,7 @@
|
||||
/** @defgroup board_button board user button GPIO
|
||||
* @{
|
||||
*/
|
||||
//#if defined(MAPLE_MINI)
|
||||
#if defined(MAPLE_MINI)
|
||||
/* on maple mini user button is on 32/PB8 */
|
||||
#define BUTTON_RCC RCC_GPIOB /**< GPIO peripheral clock */
|
||||
#define BUTTON_PORT GPIOB /**< GPIO port */
|
||||
@ -57,7 +57,7 @@
|
||||
#define BUTTON_EXTI EXTI8 /**< GPIO external interrupt */
|
||||
#define BUTTON_IRQ NVIC_EXTI9_5_IRQ /**< GPIO line interrupt (interrupt for line 9 to 5 for pin) */
|
||||
#define BUTTON_ISR exti9_5_isr /**< GPIO line interrupt service routine (isr for line 9 to 5 for pin 8) */
|
||||
//#endif
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/** @brief switch on board LED */
|
||||
|
Loading…
Reference in New Issue
Block a user