mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Spacing adjustments
This commit is contained in:
parent
ac41eb5871
commit
965b0ab53e
@ -1,7 +1,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
||||||
#if !defined(SPI_FULL_SPEED)
|
#ifndef SPI_FULL_SPEED
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SPI speed where 0 <= index <= 6
|
* SPI speed where 0 <= index <= 6
|
||||||
|
@ -632,7 +632,7 @@ static_assert(1 >= 0
|
|||||||
/**
|
/**
|
||||||
* Make sure Z raise values are set
|
* Make sure Z raise values are set
|
||||||
*/
|
*/
|
||||||
#if !defined(Z_CLEARANCE_DEPLOY_PROBE)
|
#ifndef Z_CLEARANCE_DEPLOY_PROBE
|
||||||
#error "You must define Z_CLEARANCE_DEPLOY_PROBE in your configuration."
|
#error "You must define Z_CLEARANCE_DEPLOY_PROBE in your configuration."
|
||||||
#elif !defined(Z_CLEARANCE_BETWEEN_PROBES)
|
#elif !defined(Z_CLEARANCE_BETWEEN_PROBES)
|
||||||
#error "You must define Z_CLEARANCE_BETWEEN_PROBES in your configuration."
|
#error "You must define Z_CLEARANCE_BETWEEN_PROBES in your configuration."
|
||||||
|
@ -276,7 +276,7 @@ inline void do_probe_raise(const float z_raise) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // Z_PROBE_ALLEN_KEY
|
||||||
|
|
||||||
#if ENABLED(PROBING_FANS_OFF)
|
#if ENABLED(PROBING_FANS_OFF)
|
||||||
|
|
||||||
|
@ -323,7 +323,7 @@ void Stepper::isr() {
|
|||||||
|
|
||||||
HAL_TIMER_TYPE ocr_val;
|
HAL_TIMER_TYPE ocr_val;
|
||||||
|
|
||||||
#if defined(CPU_32_BIT)
|
#ifdef CPU_32_BIT
|
||||||
#define ENDSTOP_NOMINAL_OCR_VAL 1500 * HAL_TICKS_PER_US // check endstops every 1.5ms to guarantee two stepper ISRs within 5ms for BLTouch
|
#define ENDSTOP_NOMINAL_OCR_VAL 1500 * HAL_TICKS_PER_US // check endstops every 1.5ms to guarantee two stepper ISRs within 5ms for BLTouch
|
||||||
#define OCR_VAL_TOLERANCE 500 * HAL_TICKS_PER_US // First max delay is 2.0ms, last min delay is 0.5ms, all others 1.5ms
|
#define OCR_VAL_TOLERANCE 500 * HAL_TICKS_PER_US // First max delay is 2.0ms, last min delay is 0.5ms, all others 1.5ms
|
||||||
#else
|
#else
|
||||||
@ -335,7 +335,7 @@ void Stepper::isr() {
|
|||||||
// Disable Timer0 ISRs and enable global ISR again to capture UART events (incoming chars)
|
// Disable Timer0 ISRs and enable global ISR again to capture UART events (incoming chars)
|
||||||
DISABLE_TEMPERATURE_INTERRUPT(); // Temperature ISR
|
DISABLE_TEMPERATURE_INTERRUPT(); // Temperature ISR
|
||||||
DISABLE_STEPPER_DRIVER_INTERRUPT();
|
DISABLE_STEPPER_DRIVER_INTERRUPT();
|
||||||
#if !defined(CPU_32_BIT)
|
#ifndef CPU_32_BIT
|
||||||
sei();
|
sei();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
|
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__AVR_ATmega1284P__)
|
#ifndef __AVR_ATmega1284P__
|
||||||
#error "Oops! Make sure you have 'Anet V1.0', 'Anet V1.0 (Optiboot)' or 'Sanguino' selected from the 'Tools -> Boards' menu."
|
#error "Oops! Make sure you have 'Anet V1.0', 'Anet V1.0 (Optiboot)' or 'Sanguino' selected from the 'Tools -> Boards' menu."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
#define Y_MAX_PIN 15 //10k pullup to 3.3V, 1K series
|
#define Y_MAX_PIN 15 //10k pullup to 3.3V, 1K series
|
||||||
#define Z_MIN_PIN 18 //10k pullup to 3.3V, 1K series
|
#define Z_MIN_PIN 18 //10k pullup to 3.3V, 1K series
|
||||||
#define Z_MAX_PIN 19 //10k pullup to 3.3V, 1K series
|
#define Z_MAX_PIN 19 //10k pullup to 3.3V, 1K series
|
||||||
//#define Z_probe_pin 1 // AUX-1
|
//#define Z_PROBE_PIN 1 // AUX-1
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -267,23 +267,18 @@
|
|||||||
//#define SHIFT_EN 41 // J5-4 & AUX-4
|
//#define SHIFT_EN 41 // J5-4 & AUX-4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(SDSUPPORT)
|
|
||||||
#define SDCARD_SORT_ALPHA // Using SORT feature to keep one directory level in RAM
|
#define SDCARD_SORT_ALPHA // Using SORT feature to keep one directory level in RAM
|
||||||
// When going up/down directory levels the SD card is
|
// When going up/down directory levels the SD card is
|
||||||
// accessed but the garbage/lines are removed when the
|
// accessed but the garbage/lines are removed when the
|
||||||
// LCD updates
|
// LCD updates
|
||||||
|
|
||||||
// SD Card Sorting options
|
#define SDSORT_LIMIT 256 // Maximum number of sorted items (10-256). Costs 27 bytes each.
|
||||||
#if ENABLED(SDCARD_SORT_ALPHA)
|
|
||||||
#define SDSORT_LIMIT 255 // Maximum number of sorted items (10-256). Costs 27 bytes each.
|
|
||||||
#define FOLDER_SORTING -1 // -1=above 0=none 1=below
|
#define FOLDER_SORTING -1 // -1=above 0=none 1=below
|
||||||
#define SDSORT_GCODE false // Allow turning sorting on/off with LCD and M34 g-code.
|
#define SDSORT_GCODE false // Allow turning sorting on/off with LCD and M34 g-code.
|
||||||
#define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting.
|
#define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting.
|
||||||
#define SDSORT_USES_STACK false // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
|
#define SDSORT_USES_STACK false // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
|
||||||
#define SDSORT_CACHE_NAMES true // Keep sorted items in RAM longer for speedy performance. Most expensive option.
|
#define SDSORT_CACHE_NAMES true // Keep sorted items in RAM longer for speedy performance. Most expensive option.
|
||||||
#define SDSORT_DYNAMIC_RAM false // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
|
#define SDSORT_DYNAMIC_RAM false // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||||
// #define LCD_SCREEN_ROT_180
|
// #define LCD_SCREEN_ROT_180
|
||||||
|
@ -145,10 +145,10 @@ typedef int32_t(*PFI)();
|
|||||||
/* External data/function define */
|
/* External data/function define */
|
||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
|
|
||||||
#if !defined(MAX)
|
#ifndef MAX
|
||||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
#if !defined(MIN)
|
#ifndef MIN
|
||||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user