Consolidates Buzzer and Speaker into a single object

This commit is contained in:
João Brázio
2016-07-29 17:39:07 +01:00
parent 8093c5f534
commit 2b5faa61e2
4 changed files with 14 additions and 89 deletions

View File

@@ -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
/**