Clean up Melzi LCD timing defaults (#18187)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
git-user44
2020-06-05 01:55:39 +01:00
committed by GitHub
parent fcb8c5a1c1
commit 9e2f142391
8 changed files with 95 additions and 41 deletions

View File

@@ -26,6 +26,13 @@
*/
#define BOARD_INFO_NAME "Melzi (Tronxy)"
#if HAS_GRAPHICAL_LCD
#define BOARD_ST7920_DELAY_1 DELAY_NS(0)
#define BOARD_ST7920_DELAY_2 DELAY_NS(125)
#define BOARD_ST7920_DELAY_3 DELAY_NS(0)
#endif
#include "pins_MELZI.h"
#undef Z_ENABLE_PIN
@@ -50,9 +57,3 @@
#define BTN_EN1 10
#define BTN_EN2 11
#define BTN_ENC 26
#if HAS_GRAPHICAL_LCD
#define BOARD_ST7920_DELAY_1 DELAY_NS(0)
#define BOARD_ST7920_DELAY_2 DELAY_NS(125)
#define BOARD_ST7920_DELAY_3 DELAY_NS(0)
#endif