Scott Lahteine 5 years ago
parent
commit
11ce281694
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/stepper/trinamic.cpp

+ 1
- 1
Marlin/src/module/stepper/trinamic.cpp View File

@@ -341,7 +341,7 @@ enum StealthIndex : uint8_t { STEALTH_AXIS_XY, STEALTH_AXIS_Z, STEALTH_AXIS_E };
341 341
         ptr[a] = p; return false;
342 342
       };
343 343
     } sp_helper;
344
-    #define HW_SERIAL_BEGIN(A) do{ if (sp_helper.began(TMCAxis::A, &A##_HARDWARE_SERIAL)) \
344
+    #define HW_SERIAL_BEGIN(A) do{ if (!sp_helper.began(TMCAxis::A, &A##_HARDWARE_SERIAL)) \
345 345
                                          A##_HARDWARE_SERIAL.begin(TMC_BAUD_RATE); }while(0)
346 346
     #if AXIS_HAS_UART(X)
347 347
       #ifdef X_HARDWARE_SERIAL

Loading…
Cancel
Save