Workaround for SCK/MOSI pins on VIKI
This commit is contained in:
		| @@ -588,6 +588,13 @@ | ||||
|   // 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,6 +575,13 @@ | ||||
|   // 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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user