Merge remote-tracking branch 'upstream/MK3' into MK3_PF-build_106
This commit is contained in:
commit
004eb3d299
@ -6494,10 +6494,19 @@ static void change_sheet()
|
||||
|
||||
static void change_sheet_from_menu(){
|
||||
uint8_t next_sheet = selected_sheet+1;
|
||||
if(next_sheet > 2) next_sheet = 0;
|
||||
if(is_sheet_initialized(next_sheet)){
|
||||
eeprom_update_byte(&(EEPROM_Sheets_base->active_sheet), next_sheet);
|
||||
selected_sheet = next_sheet;
|
||||
while(true){
|
||||
if(next_sheet > 2) next_sheet = 0;
|
||||
if(is_sheet_initialized(next_sheet)){
|
||||
eeprom_update_byte(&(EEPROM_Sheets_base->active_sheet), next_sheet);
|
||||
selected_sheet = next_sheet;
|
||||
break;
|
||||
}
|
||||
else if (next_sheet == selected_sheet){
|
||||
break;
|
||||
}
|
||||
else{
|
||||
next_sheet++;
|
||||
}
|
||||
}
|
||||
menu_back();
|
||||
}
|
||||
|
@ -193,9 +193,9 @@
|
||||
//#define FSENSOR_QUALITY
|
||||
|
||||
|
||||
//#define LINEARITY_CORRECTION
|
||||
//#define TMC2130_LINEARITY_CORRECTION
|
||||
//#define TMC2130_LINEARITY_CORRECTION_XYZ
|
||||
#define LINEARITY_CORRECTION
|
||||
#define TMC2130_LINEARITY_CORRECTION
|
||||
#define TMC2130_LINEARITY_CORRECTION_XYZ
|
||||
#define TMC2130_VARIABLE_RESOLUTION
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user