Skip to content

Commit

Permalink
Add support for loading PHA filament
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiltonp committed Jul 6, 2022
1 parent 1db9735 commit b8eed73
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,12 @@ static void mFilamentItem_PVB()
mFilamentItem(PVB_PREHEAT_HOTEND_TEMP, PVB_PREHEAT_HPB_TEMP);
}

static void mFilamentItem_PHA()
{
bFilamentPreheatState = false;
mFilamentItem(PHA_PREHEAT_HOTEND_TEMP, PHA_PREHEAT_HPB_TEMP);
}

void mFilamentBack()
{
if (eFilamentAction == FilamentAction::AutoLoad ||
Expand Down Expand Up @@ -2127,6 +2133,7 @@ void lcd_generic_preheat_menu()
MENU_ITEM_SUBMENU_P(PSTR("HIPS - " STRINGIFY(HIPS_PREHEAT_HOTEND_TEMP) "/" STRINGIFY(HIPS_PREHEAT_HPB_TEMP)),mFilamentItem_HIPS);
MENU_ITEM_SUBMENU_P(PSTR("PP - " STRINGIFY(PP_PREHEAT_HOTEND_TEMP) "/" STRINGIFY(PP_PREHEAT_HPB_TEMP)),mFilamentItem_PP);
MENU_ITEM_SUBMENU_P(PSTR("FLEX - " STRINGIFY(FLEX_PREHEAT_HOTEND_TEMP) "/" STRINGIFY(FLEX_PREHEAT_HPB_TEMP)),mFilamentItem_FLEX);
MENU_ITEM_SUBMENU_P(PSTR("PHA - " STRINGIFY(PHA_PREHEAT_HOTEND_TEMP) "/" STRINGIFY(PHA_PREHEAT_HPB_TEMP)),mFilamentItem_PHA);
}
if (!eeprom_read_byte((uint8_t*)EEPROM_WIZARD_ACTIVE) && eFilamentAction == FilamentAction::Preheat) MENU_ITEM_FUNCTION_P(_T(MSG_COOLDOWN), lcd_cooldown);
MENU_END();
Expand Down
3 changes: 3 additions & 0 deletions Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@
#define FLEX_PREHEAT_HOTEND_TEMP 240
#define FLEX_PREHEAT_HPB_TEMP 50

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down
3 changes: 3 additions & 0 deletions Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@
#define FLEX_PREHEAT_HOTEND_TEMP 240
#define FLEX_PREHEAT_HPB_TEMP 50

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down
3 changes: 3 additions & 0 deletions Firmware/variants/1_75mm_MK25S-RAMBo10a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,9 @@
#define FLEX_PREHEAT_HOTEND_TEMP 240
#define FLEX_PREHEAT_HPB_TEMP 50

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down
3 changes: 3 additions & 0 deletions Firmware/variants/1_75mm_MK25S-RAMBo13a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@
#define FLEX_PREHEAT_HOTEND_TEMP 240
#define FLEX_PREHEAT_HPB_TEMP 50

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down
3 changes: 3 additions & 0 deletions Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,9 @@
#define FLEX_PREHEAT_HOTEND_TEMP 240
#define FLEX_PREHEAT_HPB_TEMP 50

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down
3 changes: 3 additions & 0 deletions Firmware/variants/1_75mm_MK3S-EINSy10a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,9 @@
#define FLEX_PREHEAT_HOTEND_TEMP 240
#define FLEX_PREHEAT_HPB_TEMP 50

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down
4 changes: 4 additions & 0 deletions Firmware/variants/obsolete/1_75mm_MK2-RAMBo10a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ PREHEAT SETTINGS
#define FLEX_PREHEAT_HPB_TEMP 50
#define FLEX_PREHEAT_FAN_SPEED 0

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0
#define PHA_PREHEAT_FAN_SPEED 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down
3 changes: 3 additions & 0 deletions Firmware/variants/obsolete/1_75mm_MK2-RAMBo13a-E3Dv6full.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ PREHEAT SETTINGS
#define FLEX_PREHEAT_HOTEND_TEMP 230
#define FLEX_PREHEAT_HPB_TEMP 50

#define PHA_PREHEAT_HOTEND_TEMP 195
#define PHA_PREHEAT_HPB_TEMP 0

/*------------------------------------
THERMISTORS SETTINGS
*------------------------------------*/
Expand Down

0 comments on commit b8eed73

Please sign in to comment.