Fix Ender-2 display pins, add BTN_ENC (#16349)

This commit is contained in:
greppp
2020-01-03 21:44:16 -05:00
committed by Scott Lahteine
parent b841b9bd01
commit 7f87a044cd
165 changed files with 807 additions and 17 deletions

View File

@ -118,7 +118,7 @@ static const uint8_t u8g_dev_uc1701_mini12864_HAL_init_seq[] PROGMEM = {
static const uint8_t u8g_dev_uc1701_mini12864_HAL_data_start[] PROGMEM = {
U8G_ESC_ADR(0), // instruction mode
U8G_ESC_CS(1), // enable chip
#if ENABLED(MKS_MINI_12864)
#if EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
UC1701_START_LINE(0), // set display start line to 0
UC1701_ADC_REVERSE(0), // ADC set to reverse
UC1701_OUT_MODE(1), // common output mode

View File

@ -147,7 +147,7 @@
#define U8G_CLASS U8GLIB_MINI12864_2X_HAL // 4 stripes
#elif ENABLED(MKS_MINI_12864)
#elif EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
// The MKS_MINI_12864 V1/V2 aren't exact copies of the MiniPanel.
// Panel management is in u8g_dev_uc1701_mini12864_HAL.cpp with