Convert DOGM / HD44780 impl to CPP files

This commit is contained in:
Scott Lahteine
2018-10-24 02:27:19 -05:00
parent 182b1405d9
commit c825c419d4
8 changed files with 215 additions and 210 deletions

View File

@ -108,9 +108,6 @@ uint8_t lcd_status_update_delay = 1, // First update one loop delayed
millis_t next_button_update_ms;
#if HAS_GRAPHICAL_LCD
#include <U8glib.h>
#include "dogm/HAL_LCD_class_defines.h"
extern U8G_CLASS u8g;
bool drawing_screen, first_page; // = false
#endif
@ -124,13 +121,6 @@ millis_t next_button_update_ms;
void lcd_status_screen();
#if HAS_LCD_CONTRAST
void set_lcd_contrast(const int16_t value) {
lcd_contrast = constrain(value, LCD_CONTRAST_MIN, LCD_CONTRAST_MAX);
u8g.setContrast(lcd_contrast);
}
#endif
#if HAS_LCD_MENU
#include "menu/menu.h"