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