AP_HAL: move ToneAlarm Types to AP_Notify instead

This commit is contained in:
bugobliterator 2021-05-26 21:11:14 +05:30 committed by Andrew Tridgell
parent e63918d9ba
commit ae80e2dd4d

View File

@ -125,15 +125,6 @@ public:
*/ */
virtual void commandline_arguments(uint8_t &argc, char * const *&argv) { argc = 0; } virtual void commandline_arguments(uint8_t &argc, char * const *&argv) { argc = 0; }
/*
ToneAlarm Driver
*/
enum ToneAlarmType {
ALARM_NONE=0,
ALARM_BUZZER=1<<0,
ALARM_DSHOT=1<<1
};
virtual bool toneAlarm_init(uint8_t types) { return false;} virtual bool toneAlarm_init(uint8_t types) { return false;}
virtual void toneAlarm_set_buzzer_tone(float frequency, float volume, uint32_t duration_ms) {} virtual void toneAlarm_set_buzzer_tone(float frequency, float volume, uint32_t duration_ms) {}