Allow to exclude Live K from the build
This commit is contained in:
parent
6f6cef65b5
commit
daa8007de5
2 changed files with 3 additions and 2 deletions
|
@ -295,6 +295,7 @@
|
|||
|
||||
#ifdef LIN_ADVANCE
|
||||
#define LIN_ADVANCE_K 0 // Unit: mm compression per 1mm/s extruder speed
|
||||
#define LA_LIVE_K // Allow adjusting K in the Tune menu
|
||||
//#define LA_DEBUG // If enabled, this will generate debug information output over USB.
|
||||
//#define LA_DEBUG_LOGIC // @wavexx: setup logic channels for isr debugging
|
||||
#endif
|
||||
|
|
|
@ -6607,7 +6607,7 @@ static void lcd_colorprint_change() {
|
|||
}
|
||||
|
||||
|
||||
#ifdef LIN_ADVANCE
|
||||
#ifdef LA_LIVE_K
|
||||
// @wavexx: looks like there's no generic float editing function in menu.cpp so we
|
||||
// redefine our custom handling functions to mimick other tunables
|
||||
#define MSG_ADVANCE_K PSTR("Advance K:")
|
||||
|
@ -6698,7 +6698,7 @@ static void lcd_tune_menu()
|
|||
|
||||
MENU_ITEM_EDIT_int3_P(_T(MSG_FAN_SPEED), &fanSpeed, 0, 255);//5
|
||||
MENU_ITEM_EDIT_int3_P(_i("Flow"), &extrudemultiply, 10, 999);//6////MSG_FLOW
|
||||
#ifdef LIN_ADVANCE
|
||||
#ifdef LA_LIVE_K
|
||||
MENU_ITEM_EDIT_advance_K();//7
|
||||
#endif
|
||||
#ifdef FILAMENTCHANGEENABLE
|
||||
|
|
Loading…
Add table
Reference in a new issue