Consolidates Buzzer and Speaker into a single object
This commit is contained in:
parent
8093c5f534
commit
2b5faa61e2
4 changed files with 14 additions and 89 deletions
|
|
@ -386,13 +386,8 @@ void calculate_volumetric_multipliers();
|
|||
|
||||
// Buzzer
|
||||
#if HAS_BUZZER
|
||||
#if ENABLED(SPEAKER)
|
||||
#include "speaker.h"
|
||||
extern Speaker buzzer;
|
||||
#else
|
||||
#include "buzzer.h"
|
||||
extern Buzzer buzzer;
|
||||
#endif
|
||||
#include "buzzer.h"
|
||||
extern Buzzer buzzer;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue