mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 23:49:49 +00:00
parent
51004e003d
commit
3eb55016e4
1 changed files with 0 additions and 7 deletions
|
@ -395,13 +395,6 @@ void Stepper::isr() {
|
||||||
#define ENDSTOP_NOMINAL_OCR_VAL 3000 // Check endstops every 1.5ms to guarantee two stepper ISRs within 5ms for BLTouch
|
#define ENDSTOP_NOMINAL_OCR_VAL 3000 // Check endstops every 1.5ms to guarantee two stepper ISRs within 5ms for BLTouch
|
||||||
#define OCR_VAL_TOLERANCE 1000 // First max delay is 2.0ms, last min delay is 0.5ms, all others 1.5ms
|
#define OCR_VAL_TOLERANCE 1000 // First max delay is 2.0ms, last min delay is 0.5ms, all others 1.5ms
|
||||||
|
|
||||||
#if DISABLED(LIN_ADVANCE)
|
|
||||||
// Disable Timer0 ISRs and enable global ISR again to capture UART events (incoming chars)
|
|
||||||
DISABLE_TEMPERATURE_INTERRUPT();
|
|
||||||
DISABLE_STEPPER_DRIVER_INTERRUPT();
|
|
||||||
sei();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define _SPLIT(L) (ocr_val = (uint16_t)L)
|
#define _SPLIT(L) (ocr_val = (uint16_t)L)
|
||||||
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue