Sound
"stepper.cpp" revert (debug mode only)
This commit is contained in:
parent
970ba6fa2a
commit
f5ed37a88f
@ -26,7 +26,6 @@
|
|||||||
#include "planner.h"
|
#include "planner.h"
|
||||||
#include "temperature.h"
|
#include "temperature.h"
|
||||||
#include "ultralcd.h"
|
#include "ultralcd.h"
|
||||||
#include "sound.h"
|
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "cardreader.h"
|
#include "cardreader.h"
|
||||||
#include "speed_lookuptable.h"
|
#include "speed_lookuptable.h"
|
||||||
@ -400,7 +399,6 @@ ISR(TIMER1_COMPA_vect) {
|
|||||||
stepper_timer_overflow_state = true;
|
stepper_timer_overflow_state = true;
|
||||||
stepper_timer_overflow_last = TCNT1 - OCR1A;
|
stepper_timer_overflow_last = TCNT1 - OCR1A;
|
||||||
// Beep, the beeper will be cleared at the stepper_timer_overflow() called from the main thread.
|
// 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);
|
WRITE(BEEPER, HIGH);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user