Fix alt function selector for tone_alarm GPIO.

This commit is contained in:
px4dev 2013-04-06 14:07:00 -07:00
parent 52bb5e561c
commit d8e8e6cd20
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@
*/ */
#define TONE_ALARM_TIMER 2 /* timer 2 */ #define TONE_ALARM_TIMER 2 /* timer 2 */
#define TONE_ALARM_CHANNEL 1 /* channel 1 */ #define TONE_ALARM_CHANNEL 1 /* channel 1 */
#define GPIO_TONE_ALARM (GPIO_ALT|GPIO_AF2|GPIO_SPEED_2MHz|GPIO_PULLUP|GPIO_PUSHPULL|GPIO_PORTA|GPIO_PIN15) #define GPIO_TONE_ALARM (GPIO_ALT|GPIO_AF1|GPIO_SPEED_2MHz|GPIO_FLOAT|GPIO_PUSHPULL|GPIO_PORTA|GPIO_PIN15)
/************************************************************************************ /************************************************************************************
* Public Data * Public Data