22 #define BUZZER_ARMING_BUZZ_MS 3000 // arming buzz length in milliseconds (i.e. 3 seconds)
uint32_t _arming_buzz_start_ms
bool init(void)
init - initialise the buzzer
void update()
update - updates buzzer according to timed_updated. Should be called at 50Hz
struct Buzzer::buzzer_flag_type _flags
buzzer_flag_type - bitmask of current state and ap_notify states we track
void play_pattern(BuzzerPattern pattern_id)
play_pattern - plays the defined buzzer pattern
void on(bool on_off)
on - turns the buzzer on or off