瀏覽代碼

fixup the indentation

Roxy-3D 8 年之前
父節點
當前提交
584d147a02
共有 1 個文件被更改,包括 15 次插入15 次删除
  1. 15
    15
      Marlin/ultralcd.cpp

+ 15
- 15
Marlin/ultralcd.cpp 查看文件

@@ -417,21 +417,21 @@ uint16_t max_display_update_time = 0;
417 417
    * General function to go directly to a screen
418 418
    */
419 419
   void lcd_goto_screen(screenFunc_t screen, const uint32_t encoder = 0) {
420
-  #ifdef DOUBLE_CLICK_JUMPS_TO_Z_BABYSTEPPING
421
-  #if ENABLED(BABYSTEPPING)
422
-    if (currentScreen==lcd_status_screen && screen==lcd_main_menu)	// We are in leaving the status screen to goto the main_menu 
423
-      status_screen_click_time = millis();				// screen.  Mark the time so we know how quick the user is
424
-									// pressing buttons.
425
-    if (currentScreen==lcd_main_menu)  {
426
-      if ( screen==lcd_status_screen && status_screen_click_time+DOUBLE_CLICK_TIME_WINDOW>millis() ) {
427
-        lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
428
-        status_screen_click_time = 0;
429
-        lcd_babystep_z();
430
-        return;
431
-      }
432
-    }
433
-  #endif
434
-  #endif
420
+    #ifdef DOUBLE_CLICK_JUMPS_TO_Z_BABYSTEPPING
421
+      #if ENABLED(BABYSTEPPING) 
422
+        if (currentScreen==lcd_status_screen && screen==lcd_main_menu)  // We are in leaving the status screen to goto the main_menu  
423
+          status_screen_click_time = millis();       // screen.  Mark the time so we know how quick the user is 
424
+                     // pressing buttons. 
425
+        if (currentScreen==lcd_main_menu)  { 
426
+          if ( screen==lcd_status_screen && status_screen_click_time+DOUBLE_CLICK_TIME_WINDOW>millis() ) { 
427
+            lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; 
428
+            status_screen_click_time = 0; 
429
+            lcd_babystep_z(); 
430
+          return; 
431
+          } 
432
+        } 
433
+      #endif 
434
+    #endif 
435 435
     if (currentScreen != screen) {
436 436
       currentScreen = screen;
437 437
       encoderPosition = encoder;

Loading…
取消
儲存