21 #if CONFIG_HAL_BOARD == HAL_BOARD_LINUX 28 #include <sys/types.h> 42 hal.
console->
printf(
"AP_Notify: Failed to initialise ToneAlarm");
110 #endif // CONFIG_HAL_BOARD == HAL_BOARD_PX4 void update()
update - updates led according to timed_updated. Should be called at 50Hz
#define TONE_PARACHUTE_RELEASE_TUNE
struct ToneAlarm_Linux::tonealarm_type flags
AP_HAL::UARTDriver * console
#define TONE_ARMING_FAILURE_TUNE
bool init(void)
init - initialised the tone alarm
#define TONE_NOTIFY_NEUTRAL_TUNE
virtual void toneAlarm_set_tune(uint8_t tune)
virtual void printf(const char *,...) FMT_PRINTF(2
bool play_tune(uint8_t tune_number)
play_tune - play one of the pre-defined tunes
const AP_HAL::HAL & hal
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
bool buzzer_enabled() const
uint32_t failsafe_battery
const AP_Notify * pNotify
static struct notify_flags_and_values_type flags
#define TONE_BATTERY_WARNING_FAST_TUNE
#define TONE_ARMING_WARNING_TUNE
uint32_t parachute_release
static struct notify_events_type events
virtual bool toneAlarm_init()