Fix compiler warning:

In file included from sketch/ConfigurationStore.cpp:4:0:
sketch/ultralcd.h:12:14: warning: 'void lcd_language_menu()' declared 'static' but never defined [-Wunused-function]
  static void lcd_language_menu();
This commit is contained in:
Marek Bel 2018-07-13 19:27:25 +02:00
parent ee366ce3b5
commit 6bd8e60176
2 changed files with 1 additions and 2 deletions

View file

@ -209,6 +209,7 @@ static const char* lcd_display_message_fullscreen_nonBlocking_P(const char *msg,
/* Different menus */ /* Different menus */
static void lcd_status_screen(); static void lcd_status_screen();
static void lcd_language_menu();
#ifdef ULTIPANEL #ifdef ULTIPANEL
extern bool powersupply; extern bool powersupply;
static void lcd_main_menu(); static void lcd_main_menu();

View file

@ -9,8 +9,6 @@ extern int lcd_printf_P(const char* format, ...);
#ifdef ULTRA_LCD #ifdef ULTRA_LCD
static void lcd_language_menu();
void lcd_update(uint8_t lcdDrawUpdateOverride = 0, bool forceRedraw = false); void lcd_update(uint8_t lcdDrawUpdateOverride = 0, bool forceRedraw = false);
// Call with a false parameter to suppress the LCD update from various places like the planner or the temp control. // Call with a false parameter to suppress the LCD update from various places like the planner or the temp control.
void lcd_update_enable(bool enable); void lcd_update_enable(bool enable);