Skip to content

Commit

Permalink
dummy flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 21, 2021
1 parent 9f36ea9 commit e32338c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/mks_ui/draw_ready_print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void lv_draw_ready_print() {
ZERO(disp_state_stack._disp_state);
scr = lv_screen_create(PRINT_READY_UI, "");

if (TERN0(MKS_TEST, mks_test_flag == 0x1E)) {
if (mks_test_flag == 0x1E) {
// Create image buttons
buttonTool = lv_imgbtn_create(scr, "F:/bmp_tool.bin", event_handler, ID_TOOL);

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/mks_ui/mks_hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
#if HAS_EXTRUDERS
OUT_WRITE(E0_ENABLE_PIN, LOW);
#endif
#if EXTRUDERS > 1 && DISABLED(MKS_HARDWARE_TEST_ONLY_E0)
#if HAS_MULTI_EXTRUDER && DISABLED(MKS_HARDWARE_TEST_ONLY_E0)
OUT_WRITE(E1_ENABLE_PIN, LOW);
#endif

Expand Down
2 changes: 2 additions & 0 deletions Marlin/src/lcd/extui/mks_ui/mks_hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
void mks_test_get();
void mks_gpio_test();
extern uint8_t mks_test_flag;
#else
#define mks_test_flag 0
#endif

// String display and assets
Expand Down

0 comments on commit e32338c

Please sign in to comment.