Skip to content

Commit

Permalink
🩹 Fix Ender 2 stock LCD (MarlinFirmware#25538)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and SMHRambo committed Jul 17, 2023
1 parent 9022b56 commit d838220
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/src/pins/sanguino/pins_MELZI_CREALITY.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@
// LCD / Controller
//
#if ANY(MKS_MINI_12864, CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY)
#if ENABLED(CR10_STOCKDISPLAY)
#if EITHER(CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY)
#define LCD_PINS_RS 28 // ST9720 CS
#define LCD_PINS_ENABLE 17 // ST9720 DAT
#define LCD_PINS_D4 30 // ST9720 CLK
#elif EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
#endif
#if EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
#define DOGLCD_CS 28
#define DOGLCD_A0 30
#endif
Expand Down
16 changes: 16 additions & 0 deletions buildroot/tests/melzi_optiboot
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
#
# Build tests for melzi_optiboot
#

# exit on first failure
set -e

#
# Ender 2
#
use_example_configs Creality/Ender-2
exec_test $1 $2 "Ender 2" "$3"

# clean up
restore_configs

0 comments on commit d838220

Please sign in to comment.