Followup to MAX7219 / KILL_PIN patch

Co-Authored-By: Roxy-3D <roxy-3d@users.noreply.github.com>
This commit is contained in:
Scott Lahteine 2019-08-05 21:35:58 -05:00
parent f499cecf0d
commit a9c5d524bb

View File

@ -182,10 +182,9 @@
#define BTN_ENC 35 #define BTN_ENC 35
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#ifndef MAX7219_DEBUG // Formbot T-Rex's are low on extra pins. We steal the Kill // Allow MAX7219 to steal the KILL pin
#ifndef KILL_PIN // pin to provide a Clock signal for the Max7219's #if !defined(KILL_PIN) && MAX7219_CLK_PIN != 41 && MAX7219_DIN_PIN != 41 && MAX7219_LOAD_PIN != 41
#define KILL_PIN 41 #define KILL_PIN 41
#endif
#endif #endif
#define LCD_PINS_RS 16 #define LCD_PINS_RS 16