Merge branch 'MK2' into MK2

This commit is contained in:
PavelSindler 2017-04-19 17:48:53 +02:00 committed by GitHub
commit b06b985ca7
3 changed files with 6 additions and 5 deletions

View file

@ -5,7 +5,7 @@
#include "Configuration_prusa.h" #include "Configuration_prusa.h"
// Firmware version // Firmware version
#define FW_version "3.0.11-alpha" #define FW_version "3.0.10-9"
#define FW_PRUSA3D_MAGIC "PRUSA3DFW" #define FW_PRUSA3D_MAGIC "PRUSA3DFW"
#define FW_PRUSA3D_MAGIC_LEN 10 #define FW_PRUSA3D_MAGIC_LEN 10

View file

@ -2791,7 +2791,6 @@ void process_commands()
} }
break; break;
case 76: //PINDA probe temperature calibration case 76: //PINDA probe temperature calibration
{ {
setTargetBed(PINDA_MIN_T); setTargetBed(PINDA_MIN_T);
@ -2927,7 +2926,7 @@ void process_commands()
* *
*/ */
case 80: case 80:
case_G80: case_G80:
{ {
mesh_bed_leveling_flag = true; mesh_bed_leveling_flag = true;

View file

@ -114,6 +114,10 @@ long long_press_timer = millis();
long button_blanking_time = millis(); long button_blanking_time = millis();
bool button_pressed = false; bool button_pressed = false;
bool long_press_active = false;
long long_press_timer = millis();
bool button_pressed = false;
bool menuExiting = false; bool menuExiting = false;
#ifdef FILAMENT_LCD_DISPLAY #ifdef FILAMENT_LCD_DISPLAY
@ -4823,7 +4827,6 @@ void lcd_buttons_update()
} }
else if (currentMenu == lcd_move_z) lcd_quick_feedback(); else if (currentMenu == lcd_move_z) lcd_quick_feedback();
//button_pressed is set back to false via lcd_quick_feedback function //button_pressed is set back to false via lcd_quick_feedback function
} }
else { else {
long_press_active = false; long_press_active = false;
@ -4833,7 +4836,6 @@ void lcd_buttons_update()
else { //we are in modal mode else { //we are in modal mode
if (READ(BTN_ENC) == 0) if (READ(BTN_ENC) == 0)
newbutton |= EN_C; newbutton |= EN_C;
} }
#endif #endif