Browse Source

Merge pull request #3660 from esenapaj/patch-2

Follow-up the PR #3631(Encapsulate Stepper, ...
Scott Lahteine 8 years ago
parent
commit
37c4970d87
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

@@ -6359,7 +6359,7 @@ inline void gcode_T(uint8_t tmp_extruder) {
6359 6359
             }
6360 6360
           #endif
6361 6361
 
6362
-          offset_vec.apply_rotation(plan_bed_level_matrix.transpose(plan_bed_level_matrix));
6362
+          offset_vec.apply_rotation(planner.bed_level_matrix.transpose(planner.bed_level_matrix));
6363 6363
 
6364 6364
           current_position[X_AXIS] += offset_vec.x;
6365 6365
           current_position[Y_AXIS] += offset_vec.y;
@@ -7069,7 +7069,7 @@ void ok_to_send() {
7069 7069
       while (NUMERIC_SIGNED(*p))
7070 7070
         SERIAL_ECHO(*p++);
7071 7071
     }
7072
-    SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(int(BLOCK_BUFFER_SIZE - movesplanned() - 1));
7072
+    SERIAL_PROTOCOLPGM(" P"); SERIAL_PROTOCOL(int(BLOCK_BUFFER_SIZE - planner.movesplanned() - 1));
7073 7073
     SERIAL_PROTOCOLPGM(" B"); SERIAL_PROTOCOL(BUFSIZE - commands_in_queue);
7074 7074
   #endif
7075 7075
   SERIAL_EOL;

Loading…
Cancel
Save