Minor cleanup w/r/t LEDs

This commit is contained in:
Scott Lahteine
2020-08-23 23:57:51 -05:00
parent 4b124352ef
commit c488070859
16 changed files with 34 additions and 43 deletions

View File

@@ -81,7 +81,7 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
#endif
void MarlinUI::buzz(const long duration, const uint16_t freq) {
#if ENABLED(PCA9632_BUZZER)
pca9632_buzz(duration, freq);
PCA9632_buzz(duration, freq);
#elif USE_BEEPER
buzzer.tone(duration, freq);
#endif