Ver código fonte

Sound

"stepper.cpp" revert (debug mode only)
MRprusa3d 6 anos atrás
pai
commit
f5ed37a88f
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      Firmware/stepper.cpp

+ 0 - 2
Firmware/stepper.cpp

@@ -26,7 +26,6 @@
 #include "planner.h"
 #include "temperature.h"
 #include "ultralcd.h"
-#include "sound.h"
 #include "language.h"
 #include "cardreader.h"
 #include "speed_lookuptable.h"
@@ -400,7 +399,6 @@ ISR(TIMER1_COMPA_vect) {
       stepper_timer_overflow_state = true;
       stepper_timer_overflow_last = TCNT1 - OCR1A;
       // Beep, the beeper will be cleared at the stepper_timer_overflow() called from the main thread.
-if((eSoundMode==e_SOUND_MODE_LOUD)||(eSoundMode==e_SOUND_MODE_ONCE))
       WRITE(BEEPER, HIGH);
     }
 #endif