forked from Archive/PX4-Autopilot
Fix alt function selector for tone_alarm GPIO.
This commit is contained in:
parent
52bb5e561c
commit
d8e8e6cd20
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue