Move VIKI SCK/MOSI pins fix to Conditionals_POST.h
This commit is contained in:
parent
e9bcb9d048
commit
560d366b80
@ -576,12 +576,6 @@
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -576,12 +576,6 @@
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -564,13 +564,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -588,13 +588,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -577,13 +577,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -577,13 +577,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -577,13 +577,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -577,13 +577,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -582,13 +582,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -577,13 +577,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -575,13 +575,6 @@
|
||||
// Enable this option and reduce the value to optimize screen updates.
|
||||
// The normal delay is 10µs. Use the lowest value that still gives a reliable display.
|
||||
//#define DOGM_SPI_DELAY_US 5
|
||||
|
||||
// VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
|
||||
#endif // DOGLCD
|
||||
|
||||
// @section safety
|
||||
|
@ -856,6 +856,18 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
|
||||
*/
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#ifndef DOGLCD_SCK
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#endif
|
||||
#ifndef DOGLCD_MOSI
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Z_HOMING_HEIGHT / Z_CLEARANCE_BETWEEN_PROBES
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user