From 8a2efd11550745d0816dfa7679347ed3e792368c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 19 Jul 2016 15:26:14 -0700 Subject: [PATCH] Rename ultralcd implementation files for consistency --- Marlin/fonts/README.md | 2 +- Marlin/ultralcd.cpp | 4 ++-- Marlin/{dogm_lcd_implementation.h => ultralcd_impl_DOGM.h} | 2 +- ...plementation_hitachi_HD44780.h => ultralcd_impl_HD44780.h} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename Marlin/{dogm_lcd_implementation.h => ultralcd_impl_DOGM.h} (99%) rename Marlin/{ultralcd_implementation_hitachi_HD44780.h => ultralcd_impl_HD44780.h} (100%) diff --git a/Marlin/fonts/README.md b/Marlin/fonts/README.md index 86e54929b..d41899391 100644 --- a/Marlin/fonts/README.md +++ b/Marlin/fonts/README.md @@ -17,7 +17,7 @@ For the second half of the font we now support up to 11x11 pixel. - Export as a `*.bdf` file - Use `bdf2u8g.exe` to produce the `.h` file. Examples for the existing fonts are in `make_fonts.bat`. - Edit the produced `.h` file to match our needs. Find hints in the `dogm_font_data_.h` files. -- Make a new entry in the font list in `dogm_lcd_implementation.h` before the `#else // fall-back` line: +- Make a new entry in the font list in `ultralcd_impl_DOGM.h` before the `#else // fall-back` line: ```cpp #elif ENABLED(DISPLAY_CHARSET_NEWNAME) #include "dogm_font_data_yourfont.h" diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index 4a4180ae2..fbdcb8a40 100755 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -44,9 +44,9 @@ uint8_t lcd_status_message_level; char lcd_status_message[3 * (LCD_WIDTH) + 1] = WELCOME_MSG; // worst case is kana with up to 3*LCD_WIDTH+1 #if ENABLED(DOGLCD) - #include "dogm_lcd_implementation.h" + #include "ultralcd_impl_DOGM.h" #else - #include "ultralcd_implementation_hitachi_HD44780.h" + #include "ultralcd_impl_HD44780.h" #endif // The main status screen diff --git a/Marlin/dogm_lcd_implementation.h b/Marlin/ultralcd_impl_DOGM.h similarity index 99% rename from Marlin/dogm_lcd_implementation.h rename to Marlin/ultralcd_impl_DOGM.h index 8edb204bd..6290bb393 100644 --- a/Marlin/dogm_lcd_implementation.h +++ b/Marlin/ultralcd_impl_DOGM.h @@ -21,7 +21,7 @@ */ /** - * dogm_lcd_implementation.h + * ultralcd_impl_DOGM.h * * Graphics LCD implementation for 128x64 pixel LCDs by STB for ErikZalm/Marlin * Demonstrator: http://www.reprap.org/wiki/STB_Electronics diff --git a/Marlin/ultralcd_implementation_hitachi_HD44780.h b/Marlin/ultralcd_impl_HD44780.h similarity index 100% rename from Marlin/ultralcd_implementation_hitachi_HD44780.h rename to Marlin/ultralcd_impl_HD44780.h