8 #define OCTAVE_OFFSET 0 100 #define TONE_STARTUP_TUNE 0 101 #define TONE_ERROR_TUNE 1 102 #define TONE_NOTIFY_POSITIVE_TUNE 2 103 #define TONE_NOTIFY_NEUTRAL_TUNE 3 104 #define TONE_NOTIFY_NEGATIVE_TUNE 4 105 #define TONE_ARMING_WARNING_TUNE 5 106 #define TONE_BATTERY_WARNING_SLOW_TUNE 6 107 #define TONE_BATTERY_WARNING_FAST_TUNE 7 108 #define TONE_GPS_WARNING_TUNE 8 109 #define TONE_ARMING_FAILURE_TUNE 9 110 #define TONE_PARACHUTE_RELEASE_TUNE 10 111 #define TONE_NOTIFY_MODE_CHANGE_LOUD 11 112 #define TONE_NOTIFY_MODE_CHANGE_SOFT 12 114 #define TONE_NUMBER_OF_TUNES 13 123 void set_tune(uint8_t tone);
142 int32_t prev_tune_num;
153 static pwmGroup pwm_group;
157 #endif // HAL_PWM_ALARM
#define TONE_NUMBER_OF_TUNES
AP_HAL::AnalogSource * chan
void init()
Generic board initialization function.