Consolidates Buzzer and Speaker into a single object
This commit is contained in:
@@ -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
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user