Skip to content

Commit

Permalink
Add nav button to axis screen #189
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebazzz committed Feb 17, 2021
1 parent 2a36922 commit 2282e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ const struct DGUS_VP_Variable ListOfVP[] PROGMEM = {

VPHELPER(VP_AXIS_SETTINGS_NAV_BACKBUTTON, nullptr, AxisSettingsHandler::HandleBackNavigation, nullptr),

VPHELPER(VP_AXIS_TUNING_NAV_BUTTON, nullptr, (ScreenHandler.DGUSLCD_NavigateToPage<DGUSLCD_SCREEN_AXIS_SETTINGS_NAV>), nullptr),

// Preheat settings
#ifdef PREHEAT_1_LABEL
VPHELPER(VP_PREHEAT_PLA_HOTEND_TEMP, &ui.material_preset[0].hotend_temp, ScreenHandler.DGUSLCD_SetValueDirectly<int16_t>, &ScreenHandler.DGUSLCD_SendWordValueToDisplay),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ constexpr uint16_t VP_AXIS_SETTINGS_AXIS_TMCSTEALTHCHOP_BUTTON = 0x22EB; // 2-by
constexpr uint16_t VP_AXIS_SETTINGS_AXIS_TMCSTEALTHCHOP_ICON = 0x22ED; // 2-byte
constexpr uint16_t VP_AXIS_SETTINGS_AXIS_TMCHYBRIDTHRESHOLD = 0x22EF; // 4-byte (!)

constexpr uint16_t VP_AXIS_TUNING_NAV_BUTTON = 0x22F5;

// Generic "hide" icon shared across screens
constexpr uint16_t VP_HIDE_ICON = 0x22F3; // 2-byte (!)

Expand Down

0 comments on commit 2282e7f

Please sign in to comment.