Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							54416f780d
						
					
				
				
					commit
					6cf2cf7bd4
				
			@@ -46,12 +46,13 @@
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "../../lcd/marlinui.h"
 | 
			
		||||
#if ENABLED(DWIN_CREALITY_LCD)
 | 
			
		||||
  #include "../../lcd/e3v2/creality/dwin.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if ENABLED(EXTENSIBLE_UI)
 | 
			
		||||
  #include "../../lcd/extui/ui_api.h"
 | 
			
		||||
#elif ENABLED(DWIN_CREALITY_LCD)
 | 
			
		||||
  #include "../../lcd/e3v2/creality/dwin.h"
 | 
			
		||||
#elif ENABLED(DWIN_CREALITY_LCD_ENHANCED)
 | 
			
		||||
  #include "../../lcd/e3v2/enhanced/dwin.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if HAS_L64XX                         // set L6470 absolute position registers to counts
 | 
			
		||||
@@ -238,7 +239,7 @@ void GcodeSuite::G28() {
 | 
			
		||||
    return;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  TERN_(DWIN_CREALITY_LCD, DWIN_StartHoming());
 | 
			
		||||
  TERN_(HAS_DWIN_E3V2_BASIC, DWIN_StartHoming());
 | 
			
		||||
  TERN_(EXTENSIBLE_UI, ExtUI::onHomingStart());
 | 
			
		||||
 | 
			
		||||
  planner.synchronize();          // Wait for planner moves to finish!
 | 
			
		||||
@@ -522,7 +523,7 @@ void GcodeSuite::G28() {
 | 
			
		||||
 | 
			
		||||
  ui.refresh();
 | 
			
		||||
 | 
			
		||||
  TERN_(DWIN_CREALITY_LCD, DWIN_CompletedHoming());
 | 
			
		||||
  TERN_(HAS_DWIN_E3V2_BASIC, DWIN_CompletedHoming());
 | 
			
		||||
  TERN_(EXTENSIBLE_UI, ExtUI::onHomingComplete());
 | 
			
		||||
 | 
			
		||||
  report_current_position();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user