diff options
author | px4dev <px4@purgatory.org> | 2013-04-06 14:07:00 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-04-06 14:07:00 -0700 |
commit | d8e8e6cd209e688de51a800123e513f4885655cd (patch) | |
tree | 66549f6b50a58e0e3f5adaf86b28c8ca6fd9cc37 /nuttx | |
parent | 52bb5e561c2407937d80545c127e37da6d2c3a04 (diff) | |
download | px4-firmware-d8e8e6cd209e688de51a800123e513f4885655cd.tar.gz px4-firmware-d8e8e6cd209e688de51a800123e513f4885655cd.tar.bz2 px4-firmware-d8e8e6cd209e688de51a800123e513f4885655cd.zip |
Fix alt function selector for tone_alarm GPIO.
Diffstat (limited to 'nuttx')
-rwxr-xr-x | nuttx/configs/px4fmuv2/include/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/px4fmuv2/include/board.h b/nuttx/configs/px4fmuv2/include/board.h index 5eae24477..8158e618d 100755 --- a/nuttx/configs/px4fmuv2/include/board.h +++ b/nuttx/configs/px4fmuv2/include/board.h @@ -311,7 +311,7 @@ */ #define TONE_ALARM_TIMER 2 /* timer 2 */ #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 |