ソースを参照

Comments in Marlin_main.cpp

Scott Lahteine 10年前
コミット
c966aa26ff
1個のファイルの変更8行の追加6行の削除
  1. 8
    6
      Marlin/Marlin_main.cpp

+ 8
- 6
Marlin/Marlin_main.cpp ファイルの表示

1202
       plan_bed_level_matrix.set_to_identity();
1202
       plan_bed_level_matrix.set_to_identity();
1203
       feedrate = homing_feedrate[Z_AXIS];
1203
       feedrate = homing_feedrate[Z_AXIS];
1204
 
1204
 
1205
-      // move down until you find the bed
1205
+      // Move down until the probe (or endstop?) is triggered
1206
       float zPosition = -10;
1206
       float zPosition = -10;
1207
       line_to_z(zPosition);
1207
       line_to_z(zPosition);
1208
       st_synchronize();
1208
       st_synchronize();
1209
 
1209
 
1210
-      // we have to let the planner know where we are right now as it is not where we said to go.
1210
+      // Tell the planner where we ended up - Get this from the stepper handler
1211
       zPosition = st_get_position_mm(Z_AXIS);
1211
       zPosition = st_get_position_mm(Z_AXIS);
1212
       plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], zPosition, current_position[E_AXIS]);
1212
       plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], zPosition, current_position[E_AXIS]);
1213
 
1213
 
1410
           Stop();
1410
           Stop();
1411
         }
1411
         }
1412
 
1412
 
1413
-    #endif
1413
+    #endif // Z_PROBE_ALLEN_KEY
1414
 
1414
 
1415
   }
1415
   }
1416
 
1416
 
4628
     stow_z_probe(false);
4628
     stow_z_probe(false);
4629
   }
4629
   }
4630
 
4630
 
4631
-#endif
4631
+#endif // ENABLE_AUTO_BED_LEVELING && (SERVO_ENDSTOPS || Z_PROBE_ALLEN_KEY) && !Z_PROBE_SLED
4632
 
4632
 
4633
 #ifdef FILAMENT_SENSOR
4633
 #ifdef FILAMENT_SENSOR
4634
 
4634
 
4823
     if (code_seen('Z')) {
4823
     if (code_seen('Z')) {
4824
       value = code_value();
4824
       value = code_value();
4825
       if (Z_PROBE_OFFSET_RANGE_MIN <= value && value <= Z_PROBE_OFFSET_RANGE_MAX) {
4825
       if (Z_PROBE_OFFSET_RANGE_MIN <= value && value <= Z_PROBE_OFFSET_RANGE_MAX) {
4826
-        zprobe_zoffset = -value; // compare w/ line 278 of configuration_store.cpp
4826
+        zprobe_zoffset = -value;
4827
         SERIAL_ECHO_START;
4827
         SERIAL_ECHO_START;
4828
         SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " " MSG_OK);
4828
         SERIAL_ECHOLNPGM(MSG_ZPROBE_ZOFFSET " " MSG_OK);
4829
         SERIAL_EOL;
4829
         SERIAL_EOL;
5078
 
5078
 
5079
 /**
5079
 /**
5080
  * T0-T3: Switch tool, usually switching extruders
5080
  * T0-T3: Switch tool, usually switching extruders
5081
+ *
5082
+ *   F[mm/min] Set the movement feedrate
5081
  */
5083
  */
5082
 inline void gcode_T() {
5084
 inline void gcode_T() {
5083
   int tmp_extruder = code_value();
5085
   int tmp_extruder = code_value();
5600
         case 402:
5602
         case 402:
5601
           gcode_M402();
5603
           gcode_M402();
5602
           break;
5604
           break;
5603
-      #endif
5605
+      #endif // ENABLE_AUTO_BED_LEVELING && (SERVO_ENDSTOPS || Z_PROBE_ALLEN_KEY) && !Z_PROBE_SLED
5604
 
5606
 
5605
       #ifdef FILAMENT_SENSOR
5607
       #ifdef FILAMENT_SENSOR
5606
         case 404:  //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or display nominal filament width
5608
         case 404:  //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or display nominal filament width

読み込み中…
キャンセル
保存