Browse Source

Don't init the tone timer if no BEEPER_PIN

pull/1/head
Scott Lahteine 7 years ago
parent
commit
0543362b34
  1. 2
      Marlin/src/Marlin.cpp

2
Marlin/src/Marlin.cpp

@ -648,7 +648,7 @@ void setup() {
#ifdef HAL_INIT
HAL_init();
#ifdef ARDUINO_ARCH_SAM
#if defined(ARDUINO_ARCH_SAM) && PIN_EXISTS(BEEPER)
toneInit();
#endif
#endif

Loading…
Cancel
Save