ソースを参照

Followup for core endstops

Scott Lahteine 7年前
コミット
f28e366b77
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/src/module/stepper.cpp

+ 1
- 1
Marlin/src/module/stepper.cpp ファイルの表示

@@ -1571,7 +1571,7 @@ uint32_t Stepper::stepper_block_phase_isr() {
1571 1571
       #if IS_CORE
1572 1572
         // Define conditions for checking endstops
1573 1573
         #define S_(N) current_block->steps[CORE_AXIS_##N]
1574
-        #define D_(N) motor_direction(CORE_AXIS_##N)
1574
+        #define D_(N) TEST(current_block->direction_bits, CORE_AXIS_##N)
1575 1575
       #endif
1576 1576
 
1577 1577
       #if CORE_IS_XY || CORE_IS_XZ

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