Move VIKI SCK/MOSI pins fix to Conditionals_POST.h

This commit is contained in:
Scott Lahteine
2017-10-09 16:13:49 -05:00
parent e9bcb9d048
commit 560d366b80
30 changed files with 12 additions and 201 deletions

View File

@ -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
*/