Add proper support for the AZSMZ 12864 LCD on a SMART RAMPS

This commit is contained in:
Jeffrey Li
2017-10-16 00:33:07 -07:00
parent 014a83fe09
commit eeb4611606
5 changed files with 23 additions and 21 deletions

View File

@@ -869,9 +869,9 @@
#endif
/**
* VIKI2 and miniVIKI require DOGLCD_SCK and DOGLCD_MOSI to be defined.
* VIKI2, miniVIKI, and AZSMZ_12864 require DOGLCD_SCK and DOGLCD_MOSI to be defined.
*/
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
#if ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(AZSMZ_12864)
#ifndef DOGLCD_SCK
#define DOGLCD_SCK SCK_PIN
#endif