remove user button definition

This commit is contained in:
King Kévin 2016-05-01 15:11:11 +02:00
parent 9594304c46
commit 1ebbb4f96b
1 changed files with 2 additions and 2 deletions

View File

@ -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 */