Browse Source

Patch PrintrboardG2 build (on spec)

Scott Lahteine 5 years ago
parent
commit
a9c259c77a

+ 2
- 2
Marlin/src/module/stepper.cpp View File

@@ -2580,9 +2580,9 @@ void Stepper::report_positions() {
2580 2580
 
2581 2581
   #endif
2582 2582
 
2583
-#else
2583
+#else // PRINTRBOARD_G2
2584 2584
 
2585
-  #include "../HAL/HAL_DUE/G2_PWM.h"
2585
+  #include HAL_PATH(../HAL, fastio/G2_PWM.h)
2586 2586
 
2587 2587
 #endif
2588 2588
 

+ 1
- 1
Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h View File

@@ -126,7 +126,7 @@
126 126
 #define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19        MOTOR 3
127 127
 #define MOTOR_CURRENT_PWM_E_PIN 61 // PA2         MOTOR 4
128 128
 
129
-//#define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000}  // XY Z E0, 1000 = 1000mAh
129
+#define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000}  // XY Z E0, 1000 = 1000mAh
130 130
 
131 131
 //
132 132
 // Temperature Sensors

+ 1
- 1
config/examples/Printrbot/PrintrboardG2/Configuration.h View File

@@ -102,7 +102,7 @@
102 102
  *
103 103
  * :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
104 104
  */
105
-#define SERIAL_PORT 0
105
+#define SERIAL_PORT -1
106 106
 
107 107
 /**
108 108
  * Select a secondary serial port on the board to use for communication with the host.

Loading…
Cancel
Save