diff options
author | px4dev <px4@purgatory.org> | 2013-04-26 13:00:12 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-04-26 13:00:12 -0700 |
commit | 74c62a131e34d416ef29436b12d78f961e14807a (patch) | |
tree | 9389a5b92bef00a3273809b9ce048e48e17cc722 /nuttx/configs/px4fmu | |
parent | de412b6467378ea5d4e61928f5795f309012a081 (diff) | |
download | px4-firmware-74c62a131e34d416ef29436b12d78f961e14807a.tar.gz px4-firmware-74c62a131e34d416ef29436b12d78f961e14807a.tar.bz2 px4-firmware-74c62a131e34d416ef29436b12d78f961e14807a.zip |
Fix the way that we idle the tone_alarm pin so that the board defines what is the 'safe' state.
Diffstat (limited to 'nuttx/configs/px4fmu')
-rwxr-xr-x | nuttx/configs/px4fmu/include/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/configs/px4fmu/include/board.h b/nuttx/configs/px4fmu/include/board.h index 8ad56a4c6..0bc0b3021 100755 --- a/nuttx/configs/px4fmu/include/board.h +++ b/nuttx/configs/px4fmu/include/board.h @@ -326,6 +326,7 @@ */ #define TONE_ALARM_TIMER 3 /* timer 3 */ #define TONE_ALARM_CHANNEL 3 /* channel 3 */ +#define GPIO_TONE_ALARM_IDLE (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_CLEAR|GPIO_PORTC|GPIO_PIN8) #define GPIO_TONE_ALARM (GPIO_ALT|GPIO_AF2|GPIO_SPEED_2MHz|GPIO_FLOAT|GPIO_PUSHPULL|GPIO_PORTC|GPIO_PIN8) /************************************************************************************ |