Skip to content

Commit

Permalink
Reenable LCD and disable motion paramenter LCD menu to save code space
Browse files Browse the repository at this point in the history
  • Loading branch information
lwalkera committed Jan 20, 2014
1 parent 86ad25a commit 6b62af6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -439,16 +439,17 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
#define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255

//LCD and SD support
//#define ULTRA_LCD //general lcd support, also 16x2
#define ULTRA_LCD //general lcd support, also 16x2
//#define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
#define SDSUPPORT // Enable SD Card Support in Hardware Console
//#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
//#define NEWPANEL
#define NEWPANEL
#define DISABLE_LCD_MOTION_MENU

//#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.
//#define ULTIPANEL //the ultipanel as on thingiverse
#define ULTIPANEL //the ultipanel as on thingiverse

// The MaKr3d Makr-Panel with graphic controller and SD support
// http://reprap.org/wiki/MaKr3d_MaKrPanel
Expand Down
6 changes: 6 additions & 0 deletions Marlin/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ static void lcd_control_menu();
static void lcd_control_temperature_menu();
static void lcd_control_temperature_preheat_pla_settings_menu();
static void lcd_control_temperature_preheat_abs_settings_menu();
#ifndef DISABLE_LCD_MOTION_MENU
static void lcd_control_motion_menu();
#endif
#ifdef DOGLCD
static void lcd_set_contrast();
#endif
Expand Down Expand Up @@ -615,7 +617,9 @@ static void lcd_control_menu()
START_MENU();
MENU_ITEM(back, MSG_MAIN, lcd_main_menu);
MENU_ITEM(submenu, MSG_TEMPERATURE, lcd_control_temperature_menu);
#ifndef DISABLE_LCD_MOTION_MENU
MENU_ITEM(submenu, MSG_MOTION, lcd_control_motion_menu);
#endif
#ifdef DOGLCD
// MENU_ITEM_EDIT(int3, MSG_CONTRAST, &lcd_contrast, 0, 63);
MENU_ITEM(submenu, MSG_CONTRAST, lcd_set_contrast);
Expand Down Expand Up @@ -702,6 +706,7 @@ static void lcd_control_temperature_preheat_abs_settings_menu()
END_MENU();
}

#ifndef DISABLE_LCD_MOTION_MENU
static void lcd_control_motion_menu()
{
START_MENU();
Expand Down Expand Up @@ -731,6 +736,7 @@ static void lcd_control_motion_menu()
#endif
END_MENU();
}
#endif

#ifdef DOGLCD
static void lcd_set_contrast()
Expand Down

0 comments on commit 6b62af6

Please sign in to comment.