Fix LCD compile error, etc. (#12472)

This commit is contained in:
Ludy
2018-11-19 03:39:49 +01:00
committed by Scott Lahteine
parent 826d570162
commit 1f93d2bcf7
13 changed files with 202 additions and 191 deletions

View File

@ -23,13 +23,11 @@ extern U8GLIB *pu8g;
#include "u8g_fontutf8.h"
#include "../lcdprint.h"
int lcd_glyph_height(void) {
return u8g_GetFontBBXHeight(pu8g->getU8g());
}
int lcd_glyph_height(void) { return u8g_GetFontBBXHeight(pu8g->getU8g()); }
void lcd_moveto(int col, int row) {
_lcd_setcursor(col, row);
}
void lcd_moveto(const uint8_t col, const uint8_t row) { _lcd_setcursor(col, row); }
void lcd_put_int(const int i) { pu8g->print(i); }
// return < 0 on error
// return the advanced pixels

View File

@ -21,7 +21,7 @@
*/
/**
* ultralcd_impl_DOGM.cpp
* ultralcd_DOGM.cpp
*
* Implementation of the LCD display routines for a DOGM128 graphic display.
* by STB for ErikZalm/Marlin. Common LCD 128x64 pixel graphic displays.

View File

@ -21,7 +21,7 @@
*/
/**
* ultralcd_impl_DOGM.h
* ultralcd_DOGM.h
*/
#include "../../inc/MarlinConfigPre.h"