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

@ -375,11 +375,7 @@ static millis_t stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL
// Buzzer
#if HAS_BUZZER
#if ENABLED(SPEAKER)
Speaker buzzer;
#else
Buzzer buzzer;
#endif
#endif
static uint8_t target_extruder;