Add conditional, give DUE SPI a unique name, fix compiler warnings (#10168)

This commit is contained in:
Bob-the-Kuhn
2018-03-20 15:53:21 -05:00
committed by Scott Lahteine
parent b5b39af531
commit 7308ef7809
5 changed files with 11 additions and 6 deletions

View File

@ -547,6 +547,10 @@
#define ADC_KEYPAD_PIN 12
#elif ENABLED(AZSMZ_12864)
// Pins only defined for RAMPS_SMART currently
#else
// Beeper on AUX-4

View File

@ -90,12 +90,12 @@
//
// Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel
#if ENABLED(AZSMZ_12864)
#define BEEPER_PIN 66
#define BEEPER_PIN 66 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 65
#define DOGLCD_A0 59
#define DOGLCD_CS 44
#define BTN_EN1 58
#define BTN_EN2 40
#define BTN_ENC 67
#define BTN_ENC 67 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 66
#define SD_DETECT_PIN 49 // Pin 49 for display sd interface, 72 for easy adapter board
#define KILL_PIN 42
#endif